|
@ -20,13 +20,14 @@ module.exports = { |
|
|
filename: '[name].js' |
|
|
filename: '[name].js' |
|
|
}, |
|
|
}, |
|
|
resolve: { |
|
|
resolve: { |
|
|
extensions: ['', '.js', '.vue'], |
|
|
|
|
|
|
|
|
extensions: ['', '.js', '.vue', '.scss'], |
|
|
fallback: [path.join(__dirname, '../node_modules')], |
|
|
fallback: [path.join(__dirname, '../node_modules')], |
|
|
alias: { |
|
|
alias: { |
|
|
'vue$': 'vue/dist/vue', |
|
|
'vue$': 'vue/dist/vue', |
|
|
'src': path.resolve(__dirname, '../src'), |
|
|
'src': path.resolve(__dirname, '../src'), |
|
|
'assets': path.resolve(__dirname, '../src/assets'), |
|
|
'assets': path.resolve(__dirname, '../src/assets'), |
|
|
'components': path.resolve(__dirname, '../src/components') |
|
|
|
|
|
|
|
|
'components': path.resolve(__dirname, '../src/components'), |
|
|
|
|
|
'scss_vars': path.resolve(__dirname, '../src/styles/vars.scss') |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
resolveLoader: { |
|
|
resolveLoader: { |
|
|