From 82859cf789cc64278d9b68d11b30a535d90938b9 Mon Sep 17 00:00:00 2001 From: huangzheng Date: Fri, 26 Apr 2019 18:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9IE=2010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- babel.config.js | 12 +----------- html.tpl.html | 7 +------ src/pages/iconfontPreview/template.html | 7 +------ static/js/es6-promise.auto.min.js | 1 - 4 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 static/js/es6-promise.auto.min.js diff --git a/babel.config.js b/babel.config.js index 0862849..36d77e6 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,6 +3,7 @@ module.exports = { [ '@babel/preset-env', { + useBuiltIns: 'usage', modules: false, targets: { browsers: require('./package.json').browserslist @@ -24,15 +25,4 @@ module.exports = { ] ], comments: false, - env: { - test: { - presets: [ - 'env', - // 'stage-2' - ], - plugins: [ - 'istanbul' - ] - } - } } diff --git a/html.tpl.html b/html.tpl.html index 0deaf2d..ce18d8c 100644 --- a/html.tpl.html +++ b/html.tpl.html @@ -7,17 +7,12 @@ - -