mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
update webpack config syntax error
This commit is contained in:
@@ -124,10 +124,8 @@ const renderer = {
|
|||||||
sourceMap: true
|
sourceMap: true
|
||||||
}),
|
}),
|
||||||
// ref: https://github.com/angular/angular/issues/20357
|
// ref: https://github.com/angular/angular/issues/20357
|
||||||
new webpack.ContextReplacementPlugin(
|
new webpack.ContextReplacementPlugin(/\@angular(\\|\/)core(\\|\/)esm5/,
|
||||||
/\@angular(\\|\/)core(\\|\/)esm5/,
|
path.resolve(__dirname, './src')),
|
||||||
path.resolve(__dirname, './src')
|
|
||||||
),
|
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
name: 'app/vendor',
|
name: 'app/vendor',
|
||||||
chunks: ['app/main'],
|
chunks: ['app/main'],
|
||||||
|
|||||||
Reference in New Issue
Block a user