Updated webpack to resolve common file extensions

This commit is contained in:
2019-10-23 00:34:07 +02:00
parent 3910b5d7b2
commit 4a44924f56
16 changed files with 50 additions and 49 deletions

View File

@@ -46,6 +46,7 @@ module.exports = {
]
},
resolve: {
extensions: ['.js', '.vue', '.json', 'scss'],
alias: {
'vue$': 'vue/dist/vue.common.js',
'@': path.resolve(__dirname, './src'),