mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-24 09:48:37 +08:00
Add: logger
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var webpack = require('webpack');
|
||||
|
||||
exports = require('./webpack.dev');
|
||||
exports = require('./webpack.base');
|
||||
|
||||
exports.output.filename = 'eruda.min.js';
|
||||
exports.devtool = false;
|
||||
@@ -10,6 +10,9 @@ exports.plugins = exports.plugins.concat([
|
||||
warnings: false
|
||||
},
|
||||
comments: /eruda/
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
ENV: '"production"',
|
||||
})
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user