Skip to content

Commit

Permalink
Migrate from @babel/polyfill to core-js@3
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Mar 26, 2020
1 parent 62403d0 commit fa9c206
Show file tree
Hide file tree
Showing 17 changed files with 105 additions and 107 deletions.
38 changes: 19 additions & 19 deletions apps/workflowengine/js/workflowengine.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/workflowengine/js/workflowengine.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions apps/workflowengine/src/workflowengine.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
*
*/

import '@babel/polyfill'

import Vue from 'vue'
import Vuex from 'vuex'
import store from './store'
Expand Down
4 changes: 3 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ module.exports = {
[
'@babel/preset-env',
{
modules: false
modules: false,
corejs: 3,
useBuiltIns: false,
}
]
]
Expand Down
18 changes: 9 additions & 9 deletions core/js/dist/install.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/install.js.map

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions core/js/dist/login.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/login.js.map

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions core/js/dist/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/main.js.map

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions core/js/dist/maintenance.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/maintenance.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions core/js/dist/recommendedapps.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/recommendedapps.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion core/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
*/

import $ from 'jquery'
import 'core-js/stable'
import 'regenerator-runtime/runtime'
import './Polyfill/index'
import '@babel/polyfill'

// If you remove the line below, tests won't pass
// eslint-disable-next-line no-unused-vars
Expand Down
20 changes: 8 additions & 12 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
],
"license": "AGPL-3.0-or-later",
"dependencies": {
"@babel/polyfill": "^7.7.0",
"@chenfengyuan/vue-qrcode": "^1.0.2",
"@nextcloud/auth": "^1.2.2",
"@nextcloud/axios": "^1.3.2",
Expand All @@ -43,6 +42,7 @@
"blueimp-md5": "^2.12.0",
"bootstrap": "^4.4.1",
"clipboard": "^2.0.6",
"core-js": "^3.6.4",
"css-vars-ponyfill": "^2.2.1",
"davclient.js": "git+https://github.com/owncloud/davclient.js.git#0.2.1",
"debounce": "^1.2.0",
Expand All @@ -63,6 +63,7 @@
"p-limit": "^2.2.2",
"p-queue": "^6.3.0",
"query-string": "^5.1.1",
"regenerator-runtime": "^0.13.3",
"select2": "3.5.1",
"snap.js": "^2.0.9",
"strengthify": "git+https://github.com/MorrisJobke/strengthify.git#0.5.8",
Expand Down

0 comments on commit fa9c206

Please sign in to comment.