add eslint config and format build folder

This commit is contained in:
Clark Du 2017-03-27 11:47:57 +08:00
parent 39e7e56cf1
commit 1f9fbacfb8
6 changed files with 30 additions and 23 deletions

View file

@ -1,6 +1,6 @@
var path = require('path');
var webpack = require('webpack');
var merge = require('webpack-merge')
var merge = require('webpack-merge');
var webpackBaseConfig = require('./webpack.base.config.js');
process.env.NODE_ENV = 'production';
@ -28,7 +28,7 @@ module.exports = merge(webpackBaseConfig, {
plugins: [
// @todo
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"'
'process.env.NODE_ENV': '"production"'
}),
new webpack.optimize.UglifyJsPlugin({
compress: {