mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Move to @nextcloud/babel-config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
91decb4068
commit
59069b1283
3 changed files with 10 additions and 14 deletions
|
|
@ -1,14 +1,3 @@
|
|||
module.exports = {
|
||||
plugins: [
|
||||
"@babel/plugin-transform-modules-commonjs"
|
||||
],
|
||||
presets: [
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
corejs: 3,
|
||||
useBuiltIns: 'entry',
|
||||
},
|
||||
],
|
||||
],
|
||||
}
|
||||
const babelConfig = require('@nextcloud/babel-config')
|
||||
|
||||
module.exports = babelConfig
|
||||
|
|
|
|||
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -4829,6 +4829,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"@nextcloud/babel-config": {
|
||||
"version": "1.0.0-beta.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/babel-config/-/babel-config-1.0.0-beta.0.tgz",
|
||||
"integrity": "sha512-I31yseoaQUJlaa7qTNmmxuIfBfV1In3xFOTYiT2KiedpdocqZZ86CrfVH+RcEBLPoKyTu9ucP31NYTAVjIS9CQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@nextcloud/browser-storage": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.1.1.tgz",
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
|
||||
"@babel/plugin-transform-runtime": "^7.13.10",
|
||||
"@babel/preset-env": "^7.13.12",
|
||||
"@nextcloud/babel-config": "^1.0.0-beta.0",
|
||||
"@nextcloud/browserslist-config": "^2.1.0",
|
||||
"@nextcloud/eslint-config": "^5.0.0",
|
||||
"@nextcloud/eslint-plugin": "^2.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue