mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
chore(r5): dependencies update, couple of fixes
This commit is contained in:
parent
44fe93a0c6
commit
98097f5e27
18 changed files with 138 additions and 115 deletions
|
|
@ -10,6 +10,7 @@ const commonConfig = require('./webpack.common.js'); // the settings that are co
|
|||
* Webpack Plugins
|
||||
*/
|
||||
const DefinePlugin = require('webpack/lib/DefinePlugin');
|
||||
const NamedModulesPlugin = require('webpack/lib/NamedModulesPlugin');
|
||||
|
||||
/**
|
||||
* Webpack Constants
|
||||
|
|
@ -116,7 +117,15 @@ module.exports = webpackMerge(commonConfig, {
|
|||
'NODE_ENV': JSON.stringify(METADATA.ENV),
|
||||
'HMR': METADATA.HMR
|
||||
}
|
||||
})
|
||||
}),
|
||||
|
||||
/**
|
||||
* Plugin: NamedModulesPlugin (experimental)
|
||||
* Description: Uses file names as module name.
|
||||
*
|
||||
* See: https://github.com/webpack/webpack/commit/a04ffb928365b19feb75087c63f13cadfc08e1eb
|
||||
*/
|
||||
new NamedModulesPlugin()
|
||||
],
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue