mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
hidden code
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = {
|
||||
output: {
|
||||
path: 'compiled',
|
||||
filename: '[name].js',
|
||||
sourceMapFilename: '[name].map',
|
||||
// sourceMapFilename: '[name].map',
|
||||
libraryTarget: 'commonjs2'
|
||||
},
|
||||
module: {
|
||||
@@ -31,12 +31,12 @@ module.exports = {
|
||||
'process.env': {
|
||||
'NODE_ENV': JSON.stringify('production')
|
||||
}
|
||||
}),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
compressor: {
|
||||
warnings: false
|
||||
}
|
||||
})
|
||||
// new webpack.optimize.UglifyJsPlugin({
|
||||
// compressor: {
|
||||
// warnings: false
|
||||
// }
|
||||
// })
|
||||
],
|
||||
externals: [
|
||||
'socket.io-client',
|
||||
|
||||
Reference in New Issue
Block a user