also transpile .mjs
This commit is contained in:
1 parent
bbc99e729b
commit
a2291abf1d
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export default {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /^((?!es2015-)[\s\S])*\.js$/,
|
||||
test: /^((?!es2015-)[\s\S])*\.m?js$/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
||||
Reference in new issue
Block a user