From def1985b75b92eee1dc30c2a8fb7f387ac83d52b Mon Sep 17 00:00:00 2001 From: stasson Date: Wed, 27 Dec 2017 11:57:59 +0100 Subject: [PATCH] feat(demo): add ie11 support add babel polyfills to demo --- .travis.yml | 1 + demo/main.js | 1 + package.json | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0dcf62e9..298614a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ branches: only: - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - /^greenkeeper/.*$/ + - /^dev/.*$/ - master - staging - dev diff --git a/demo/main.js b/demo/main.js index 7a5b820b..3630be59 100644 --- a/demo/main.js +++ b/demo/main.js @@ -1,4 +1,5 @@ import './styles/demo.scss' +import 'babel-polyfill'; import Vue from 'vue' import VueRouter from 'vue-router' import VueAnalytics from 'vue-analytics' diff --git a/package.json b/package.json index 27d93397..3a8cc15a 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,7 @@ "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-remove-strict-mode": "0.0.2", + "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.0", "canvas": "^1.6.7", "clean-webpack-plugin": "^0.1.17", @@ -143,7 +144,6 @@ }, "browserslist": [ "> 1%", - "last 2 versions", - "not ie <= 8" + "last 2 versions" ] }