mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix(source map): fix #136 source map no being generated correctly
This commit is contained in:
parent
e59326add2
commit
c79ac94a66
3 changed files with 7 additions and 7 deletions
|
|
@ -80,7 +80,7 @@ module.exports = webpackMerge(commonConfig, {
|
|||
*
|
||||
* See: http://webpack.github.io/docs/configuration.html#output-sourcemapfilename
|
||||
*/
|
||||
sourceMapFilename: '[name].map',
|
||||
sourceMapFilename: '[file].map',
|
||||
|
||||
/** The filename of non-entry chunks as relative path
|
||||
* inside the output.path directory.
|
||||
|
|
@ -90,7 +90,7 @@ module.exports = webpackMerge(commonConfig, {
|
|||
chunkFilename: '[id].chunk.js',
|
||||
|
||||
library: 'ac_[name]',
|
||||
libraryTarget: 'var',
|
||||
libraryTarget: 'var'
|
||||
},
|
||||
|
||||
plugins: [
|
||||
|
|
@ -111,9 +111,9 @@ module.exports = webpackMerge(commonConfig, {
|
|||
'process.env': {
|
||||
'ENV': JSON.stringify(METADATA.ENV),
|
||||
'NODE_ENV': JSON.stringify(METADATA.ENV),
|
||||
'HMR': METADATA.HMR,
|
||||
'HMR': METADATA.HMR
|
||||
}
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue