Revert nameModules in webpackConfig
This commit is contained in:
parent
cc1a1e751b
commit
06d536afbc
1 changed files with 3 additions and 7 deletions
|
@ -113,7 +113,7 @@ module.exports = (env, argv) => {
|
||||||
|
|
||||||
// This fixes duplicate files showing up in chrome with sourcemaps enabled.
|
// This fixes duplicate files showing up in chrome with sourcemaps enabled.
|
||||||
// See https://github.com/webpack/webpack/issues/7128 for more info.
|
// See https://github.com/webpack/webpack/issues/7128 for more info.
|
||||||
namedModules: true,
|
namedModules: false,
|
||||||
|
|
||||||
// Minification is normally enabled by default for webpack in production mode, but
|
// Minification is normally enabled by default for webpack in production mode, but
|
||||||
// we use a CSS optimizer too and need to manage it ourselves.
|
// we use a CSS optimizer too and need to manage it ourselves.
|
||||||
|
@ -528,18 +528,14 @@ module.exports = (env, argv) => {
|
||||||
devServer: {
|
devServer: {
|
||||||
// serve unwebpacked assets from webapp.
|
// serve unwebpacked assets from webapp.
|
||||||
contentBase: [
|
contentBase: [
|
||||||
'./src/',
|
|
||||||
'./webapp',
|
'./webapp',
|
||||||
'./bundles/**',
|
|
||||||
'./node_modules/matrix-react-sdk/**',
|
|
||||||
'./node_modules/matrix-js-sdk/**',
|
|
||||||
],
|
],
|
||||||
|
|
||||||
// Only output errors, warnings, or new compilations.
|
// Only output errors, warnings, or new compilations.
|
||||||
// This hides the massive list of modules.
|
// This hides the massive list of modules.
|
||||||
stats: 'minimal',
|
stats: 'minimal',
|
||||||
hot: true,
|
// hot: false,
|
||||||
injectHot: true,
|
// injectHot: false,
|
||||||
hotOnly: true,
|
hotOnly: true,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue