diff --git a/apps/files/.babelrc b/apps/files/.babelrc index d0c70a0c5a6..0c2b576eecb 100644 --- a/apps/files/.babelrc +++ b/apps/files/.babelrc @@ -1,5 +1,12 @@ { "presets": [ - ["es2015", {"modules": false}] + [ + "env", + { + "targets": { + "node": "current" + } + } + ] ] -} \ No newline at end of file +} diff --git a/apps/files/package.json b/apps/files/package.json index 1085b3ea8dc..e579cd97759 100644 --- a/apps/files/package.json +++ b/apps/files/package.json @@ -11,11 +11,16 @@ "license": "AGPL-3.0", "homepage": "https://github.com/owncloud/phoenix", "devDependencies": { + "babel": "^6.23.0", + "babel-core": "^6.26.3", + "babel-loader": "^7.1.5", + "babel-preset-env": "^1.7.0", + "babel-preset-es2015": "^6.24.1", "css-loader": "^1.0.0", "less": "^3.0.4", "less-loader": "^4.1.0", "pug": "^2.0.3", - "vue-loader": "^14.2.3", + "vue-loader": "^15.4.2", "webpack": "^4.15.0", "webpack-cli": "^3.0.8", "webpack-merge": "^4.1.3" diff --git a/apps/files/src/components/File-Details.vue b/apps/files/src/components/File-Details.vue index 403d5aadb4d..e69f9c105d9 100644 --- a/apps/files/src/components/File-Details.vue +++ b/apps/files/src/components/File-Details.vue @@ -1,80 +1,65 @@ -