From 36fef80b9e6815e6ceaf711839f038a3fa9defb0 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Tue, 21 May 2019 11:26:43 -0400 Subject: [PATCH] Move babel config to mix configuration --- .babelrc | 3 --- webpack.mix.js | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 .babelrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index a9b68d1..0000000 --- a/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "plugins": ["@babel/plugin-syntax-dynamic-import"] -} diff --git a/webpack.mix.js b/webpack.mix.js index 5505084..ef16174 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -30,5 +30,8 @@ mix.js('resources/js/app.js', 'public/js') }, }, }) + .babelConfig({ + plugins: ['@babel/plugin-syntax-dynamic-import'], + }) .version() .sourceMaps()