aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vnext/.browserslistrc2
-rw-r--r--vnext/package.json5
-rw-r--r--vnext/webpack.config.js5
3 files changed, 5 insertions, 7 deletions
diff --git a/vnext/.browserslistrc b/vnext/.browserslistrc
new file mode 100644
index 00000000..8a747d5e
--- /dev/null
+++ b/vnext/.browserslistrc
@@ -0,0 +1,2 @@
+ie >= 9
+android >= 4.2 \ No newline at end of file
diff --git a/vnext/package.json b/vnext/package.json
index 1c0bb8de..7551235e 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -69,10 +69,7 @@
[
"@babel/preset-env",
{
- "useBuiltIns": "usage",
- "targets": {
- "browsers": "ie >=9, android >= 4.2"
- }
+ "useBuiltIns": "usage"
}
],
"@babel/preset-react"
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index 1eef1c71..3748e5db 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -13,6 +13,7 @@ module.exports = (env, argv) => {
mode: dev ? 'development' : 'production',
entry: {
'Juick': [
+ 'core-js/modules/es6.promise',
__dirname + '/src/index.js',
__dirname + '/src/style/main.css'
]
@@ -35,9 +36,7 @@ module.exports = (env, argv) => {
{
loader: 'postcss-loader', options: {
plugins: () => [
- require('autoprefixer')({
- browsers: 'last 4 versions, > 1%, ie >= 8'
- })
+ require('autoprefixer')({})
]
}
}