Add: logger

This commit is contained in:
surunzi
2017-09-27 16:52:13 +08:00
parent 1647df1378
commit 4ad3c5774a
7 changed files with 509 additions and 149 deletions

View File

@@ -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"',
})
]);