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

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: [