mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
fix regressions from webpack-contrib/uglifyjs-webpack-plugin#174
This commit is contained in:
parent
994c3d252e
commit
49d59c68f8
@ -142,6 +142,11 @@ export default function webpackClientConfig() {
|
|||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
extractComments: {
|
extractComments: {
|
||||||
filename: 'LICENSES'
|
filename: 'LICENSES'
|
||||||
|
},
|
||||||
|
uglifyOptions: {
|
||||||
|
output: {
|
||||||
|
comments: /^\**!|@preserve|@license|@cc_on/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user