diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-04 16:48:59 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-04 17:03:56 +0300 |
commit | 097bd381c9c5039d050c63b583dcb878cce8d592 (patch) | |
tree | 70289524ba0eefd708458ba599693c80fb6fa02d /babel.config.js | |
parent | 8d950bb160b7c936e8182e1982641d9836cfda27 (diff) |
Switch to babel.config.js and @babel/preset-env
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/babel.config.js b/babel.config.js index ba179669a..ef6b5106c 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,13 @@ module.exports = { - presets: [ - '@vue/app' - ] -} + plugins: [ + '@babel/plugin-syntax-dynamic-import' + ], + presets: [ + [ + '@babel/preset-env', + { + modules: false + } + ] + ] +}; |