Tusooa Zhu 2022-07-22 12:12:54 -04:00
parent f3eb079270
commit 6deb02490b
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module.exports = {
}
},
resolve: {
extensions: ['.js', '.jsx', '.vue'],
extensions: ['.mjs', '.js', '.jsx', '.vue'],
modules: [
path.join(__dirname, '../node_modules')
],
@ -108,6 +108,11 @@ module.exports = {
}
}
},
{
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto'
}
]
},
plugins: [