mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
chore(webpack) lint
This commit is contained in:
parent
56d92f5c93
commit
210f49cb4a
2 changed files with 9 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const {optimize} = webpack
|
||||
const {optimize} = webpack;
|
||||
const {UglifyJsPlugin} = optimize;
|
||||
|
||||
const dir = './client';
|
||||
|
|
@ -53,14 +53,14 @@ module.exports = {
|
|||
plugins,
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
exclude: /(node_)?modules/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
}
|
||||
test: /\.js$/,
|
||||
exclude: /(node_)?modules/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue