Vue-cli: Webpack 4.0 Support for better wasm intergration

Created on 10 Mar 2018  路  6Comments  路  Source: vuejs/vue-cli

What problem does this feature solve?

I am "rust-native-wasm-loader" to build and load wasm created by "wasm-bindgen". This development system creates es6 interface for wasm. With webpack 3, I have to play games with promises, async and yield , with webpack 4 it works out of the box.
Also webpack 4 is faster.

What does the proposed API look like?

Webpack 4 makes it easier to to load wasm libraries and builds are faster.

Most helpful comment

We already have a WIP branch but at the moment webpack 4 still lacks updated documentation, and a few plugins we rely on from the ecosystem still have not been fully stabilized yet.

Our priority is to ship a stable, production ready setup as the default, so we want to make sure we only migrate when it is ready.

All 6 comments

@greenpdx have a look at https://github.com/vuejs/vue-cli/issues/836, specifically the final comment from Evan (yyx990803)

Closing since the answer is yes - will open a separate tracking issue when we try to finalize it.

We already have a WIP branch but at the moment webpack 4 still lacks updated documentation, and a few plugins we rely on from the ecosystem still have not been fully stabilized yet.

Our priority is to ship a stable, production ready setup as the default, so we want to make sure we only migrate when it is ready.

will open a separate tracking issue when we try to finalize it.

is there already some ticket somewhere? just found closed tickets on this topic

What is the status quo here? Any chance to provide a link with current info?
Thank you!

We already migrated to Webpack 4 since beta.10

I just tested the Vue Cli 3 rc5 again, using the UI. Looks AMAZING! But what I cannot find is a hint anywhere on which webpack is used. Am I missing something? Shouldn't that be shown somewhere?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BusyHe picture BusyHe  路  3Comments

eladcandroid picture eladcandroid  路  3Comments

b-zee picture b-zee  路  3Comments

Gonzalo2683 picture Gonzalo2683  路  3Comments

PrimozRome picture PrimozRome  路  3Comments