transpile using babel for legacy browser support

This commit is contained in:
undergroundwires
2021-01-21 04:38:02 +01:00
parent 8b0e47da38
commit 7930bef48c
4 changed files with 1542 additions and 13 deletions

5
babel.config.js Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}

1533
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,9 @@
{
"name": "privacy.sexy",
"version": "0.9.0",
"author": "undergroundwires",
"description": "Enforce privacy & security best-practices on Windows and macOS, because privacy is sexy 🍑🍆",
"homepage": "https://privacy.sexy",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/undergroundwires/privacy.sexy.git"
},
"description": "Enforce privacy & security best-practices on Windows and macOS, because privacy is sexy 🍑🍆",
"author": "undergroundwires",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
@@ -32,6 +27,7 @@
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/vue-fontawesome": "^2.0.2",
"ace-builds": "^1.4.12",
"core-js": "^3.6.5",
"file-saver": "^2.0.5",
"inversify": "^5.0.5",
"liquor-tree": "^0.2.70",
@@ -46,6 +42,7 @@
"@types/chai": "^4.2.14",
"@types/file-saver": "^2.0.1",
"@types/mocha": "^8.2.0",
"@vue/cli-plugin-babel": "^4.5.10",
"@vue/cli-plugin-typescript": "^4.5.9",
"@vue/cli-plugin-unit-mocha": "^4.5.9",
"@vue/cli-service": "^4.5.9",
@@ -67,5 +64,10 @@
"vue-cli-plugin-electron-builder": "^2.0.0-rc.5",
"vue-template-compiler": "^2.6.12",
"yaml-lint": "^1.2.4"
},
"homepage": "https://privacy.sexy",
"repository": {
"type": "git",
"url": "https://github.com/undergroundwires/privacy.sexy.git"
}
}

View File

@@ -1,7 +1,6 @@
import Vue from 'vue';
import App from './App.vue';
import { ApplicationBootstrapper } from './presentation/Bootstrapping/ApplicationBootstrapper';
import 'core-js/fn/array/flat-map'; // Here until Vue 3 & CLI v4 https://github.com/vuejs/vue-cli/issues/3834
new ApplicationBootstrapper()
.bootstrap(Vue);