giffer

Create .gif images from sites like youtube.com
Log | Files | Refs | LICENSE

commit f6fea8c3388ef8d60797bbff6d5b556000ceb0fc
parent 20a8d0db6d6b8ce90a692326e7bbf1450c0f938d
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date:   Wed, 28 Nov 2018 15:24:58 -0800

[+] Use babel polyfill for ie11.

Diffstat:
Mcmd/desktop/ui/babel.config.js | 8+++++++-
Mcmd/desktop/ui/package.json | 1+
Mcmd/desktop/ui/src/main.js | 6++++--
Mcmd/desktop/ui/yarn.lock | 10+++++++++-
4 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/cmd/desktop/ui/babel.config.js b/cmd/desktop/ui/babel.config.js @@ -1,5 +1,11 @@ module.exports = { presets: [ - '@vue/app' + "@vue/app", + [ + "@babel/preset-env", + { + "useBuiltIns": "entry", + } + ] ] } diff --git a/cmd/desktop/ui/package.json b/cmd/desktop/ui/package.json @@ -8,6 +8,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "@babel/polyfill": "^7.0.0", "axios": "^0.18.0", "normalize.css": "^8.0.1", "semantic-ui-css": "^2.4.1", diff --git a/cmd/desktop/ui/src/main.js b/cmd/desktop/ui/src/main.js @@ -1,8 +1,10 @@ +import "@babel/polyfill" +import "semantic-ui-css/semantic.min.css" +import "normalize.css" + import Vue from "vue" import App from "./App.vue" import SuiVue from "semantic-ui-vue" -import "semantic-ui-css/semantic.min.css" -import "normalize.css" Vue.use(SuiVue) Vue.config.productionTip = false diff --git a/cmd/desktop/ui/yarn.lock b/cmd/desktop/ui/yarn.lock @@ -563,6 +563,14 @@ "@babel/helper-regex" "^7.0.0" regexpu-core "^4.1.3" +"@babel/polyfill@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.0.0.tgz#c8ff65c9ec3be6a1ba10113ebd40e8750fb90bff" + integrity sha512-dnrMRkyyr74CRelJwvgnnSUDh2ge2NCTyHVwpOdvRMHtJUyxLtMAfhBN3s64pY41zdw0kgiLPh6S20eb1NcX6Q== + dependencies: + core-js "^2.5.7" + regenerator-runtime "^0.11.1" + "@babel/preset-env@^7.0.0": version "7.1.6" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.1.6.tgz#a0bf4b96b6bfcf6e000afc5b72b4abe7cc13ae97" @@ -6118,7 +6126,7 @@ regenerate@^1.2.1, regenerate@^1.4.0: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== -regenerator-runtime@^0.11.0: +regenerator-runtime@^0.11.0, regenerator-runtime@^0.11.1: version "0.11.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==