add eslint config and format build folder
This commit is contained in:
parent
39e7e56cf1
commit
1f9fbacfb8
6 changed files with 30 additions and 23 deletions
|
@ -1,10 +1,9 @@
|
|||
/**
|
||||
* 公共配置
|
||||
*/
|
||||
var webpack = require('webpack');
|
||||
var path = require('path');
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '..', dir)
|
||||
return path.join(__dirname, '..', dir)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
@ -61,8 +60,8 @@ module.exports = {
|
|||
resolve: {
|
||||
extensions: ['.js', '.vue'],
|
||||
alias: {
|
||||
'vue': 'vue/dist/vue.esm.js',
|
||||
'@': resolve('src')
|
||||
'vue': 'vue/dist/vue.esm.js',
|
||||
'@': resolve('src')
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue