Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-26 14:09:09 +0300
committernpmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>2021-03-26 14:49:23 +0300
commitac70fa986cc3cf06644177fa5f0c39606cdda1c9 (patch)
tree5db63dd4bf5cfb896a4373b5cd8070e9fd00ff63 /babel.config.js
parent7552bbc33049d355e78a43038e1270bd84a6732b (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.js3
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',
},
],
],
}
-