diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-26 14:09:09 +0300 |
---|---|---|
committer | npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> | 2021-03-26 14:49:23 +0300 |
commit | ac70fa986cc3cf06644177fa5f0c39606cdda1c9 (patch) | |
tree | 5db63dd4bf5cfb896a4373b5cd8070e9fd00ff63 /babel.config.js | |
parent | 7552bbc33049d355e78a43038e1270bd84a6732b (diff) |
Move babel/env config into babelrc file
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js index 51ab5c7..6c1efbf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,12 +1,13 @@ module.exports = { + plugins: ['add-module-exports'], presets: [ [ '@babel/preset-env', { corejs: 3, useBuiltIns: 'entry', + modules: 'commonjs', }, ], ], } - |