Skip to content

Commit

Permalink
Migrate to @nextcloud/babel-config
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Mar 30, 2021
1 parent 46a72cd commit 964a4e4
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 26 deletions.
20 changes: 3 additions & 17 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
module.exports = {
plugins: [
'add-module-exports',
'@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-class-properties', { loose: true }],
],
presets: [
[
'@babel/preset-env',
{
corejs: 3,
useBuiltIns: 'entry',
modules: 'commonjs',
},
],
],
}
const babelConfig = require('@nextcloud/babel-config')

module.exports = babelConfig
211 changes: 204 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@
"@nextcloud/vue": "^3.8.0",
"@skjnldsv/vue-plyr": "^7.0.1-alpha.0",
"camelcase": "^6.2.0",
"core-js": "^3.9.1",
"debounce": "^1.2.1",
"nextcloud-server": "^0.15.10",
"path-parse": "^1.0.6",
"regenerator-runtime": "^0.13.7",
"vue": "^2.6.12",
"vue-async-computed": "^3.9.0",
"webdav": "^3.6.1"
Expand All @@ -62,8 +60,10 @@
"@babel/eslint-parser": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-env": "^7.13.12",
"@cypress/browserify-preprocessor": "^3.0.1",
"@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",
Expand Down

0 comments on commit 964a4e4

Please sign in to comment.