Move babel config to mix configuration

This commit is contained in:
Jonathan Reinink 2019-05-21 11:26:43 -04:00
parent 6419ed3a89
commit 36fef80b9e
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +0,0 @@
{
"plugins": ["@babel/plugin-syntax-dynamic-import"]
}

3
webpack.mix.js vendored
View File

@ -30,5 +30,8 @@ mix.js('resources/js/app.js', 'public/js')
},
},
})
.babelConfig({
plugins: ['@babel/plugin-syntax-dynamic-import'],
})
.version()
.sourceMaps()