weboptimizer 4.0.29 → 4.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/webpackConfigurator.js +1 -1
package/package.json
CHANGED
package/webpackConfigurator.js
CHANGED
|
@@ -766,7 +766,7 @@ export let webpackConfiguration = extend(true, {
|
|
|
766
766
|
devServer: configuration.development.server,
|
|
767
767
|
experiments: {
|
|
768
768
|
futureDefaults: true,
|
|
769
|
-
outputModule:
|
|
769
|
+
outputModule: configuration.givenCommandLineArguments[2] !== 'serve',
|
|
770
770
|
/*
|
|
771
771
|
"futureDefaults" would enable webpack's native css support
|
|
772
772
|
which disables the configured "mini-css-extract-plugin"
|