4 ms·
I think the biggest addition is ES2015 modules. Webpack now understands them without the need to convert them to commonjs/amd. import works statically (before
by k__ 10y ago
I think the biggest addition is ES2015 modules.
Webpack now understands them without the need to convert them to commonjs/amd.
import works statically (before the JS is run), which allows webpack to make some optimizations.
(System.import() is used for dynamic (runtime) imports)
- vladimir-y 10y agoThere is also a config validation, which is a good thing.