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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-06-16 09:44:35 +0300
committerJulius Härtl <jus@bitgrid.net>2021-07-14 15:54:43 +0300
commit86b446f8490707cb58c1b4d879e24dd7d9e66212 (patch)
tree92458e325d34b83226bd073ed1c75ca38b59d357 /babel.config.js
parentc6b34c47c8d389268d01e6c62b6a81f913e74c98 (diff)
Move to shared babel/webpack config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js33
1 files changed, 2 insertions, 31 deletions
diff --git a/babel.config.js b/babel.config.js
index 27f03899c..8be4fc38b 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,32 +1,3 @@
-module.exports = {
- plugins: [
- '@babel/plugin-syntax-dynamic-import',
- '@babel/plugin-transform-classes',
- ['@babel/plugin-proposal-class-properties', { loose: true }],
- '@babel/plugin-transform-modules-commonjs'
- ],
- presets: [
- [
- '@babel/preset-env',
- {
- corejs: 3,
- useBuiltIns: 'entry',
- },
- ],
- ],
- env: {
- test: {
- presets: [
- [
- "@babel/preset-env",
- {
- "targets": {
- "node": "current"
- }
- }
- ]
- ]
- }
- }
-}
+const babelConfig = require('@nextcloud/babel-config')
+module.exports = babelConfig