...
|
...
|
@@ -12,7 +12,7 @@ module.exports = { |
|
|
alias: {
|
|
|
jquery: path.resolve(baseName, './jquery.js'),
|
|
|
vue: path.resolve(baseName, './vue.min.js'),
|
|
|
echarts:path.resolve(baseName, './echarts.simple.min.js'),
|
|
|
echarts:path.resolve(baseName, './echarts2.js'),
|
|
|
util:path.resolve(baseName, './util.js')
|
|
|
},
|
|
|
extensions: ['', '.js', '.vue', '.scss']
|
...
|
...
|
@@ -21,8 +21,8 @@ module.exports = { |
|
|
loaders: [
|
|
|
{ test: /\.vue$/, loader: "vue" },
|
|
|
{ test: /\.scss$/, loader: ExtractTextPlugin.extract("style-loader", 'css-loader!autoprefixer!sass-loader') },
|
|
|
{ test: /\.js$/, loader: 'babel', exclude: /node_modules/ },
|
|
|
{ test: /\.(png|jpg|gif)$/, loader: 'url?limit=10000&name=./images/[name].[ext]?[hash:10]', },
|
|
|
{ test: /\.js$/, loader: 'babel', exclude: [/node_modules/] },
|
|
|
{ test: /\.(png|jpg|gif)$/, loader: 'url?limit=10000&name=./images/[name].[ext]?[hash:10]'},
|
|
|
]
|
|
|
},
|
|
|
babel: {
|
...
|
...
|
|