eslint and replace "var" with "const"
This commit is contained in:
parent
0a0971da1d
commit
4a7f28fd64
8 changed files with 39 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
var path = require('path');
|
||||
var webpack = require('webpack');
|
||||
var entry = require('./locale');
|
||||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const entry = require('./locale');
|
||||
process.env.NODE_ENV = 'production';
|
||||
|
||||
module.exports = {
|
||||
|
@ -12,7 +12,7 @@ module.exports = {
|
|||
loader: 'babel-loader',
|
||||
exclude: /node_modules/
|
||||
}
|
||||
],
|
||||
]
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, '../dist/locale'),
|
||||
|
@ -29,4 +29,4 @@ module.exports = {
|
|||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue