aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-07 13:42:59 +0300
committerGravatar Vitaly Takmazov2018-11-07 13:42:59 +0300
commit93408e7be7d74e89216485d941e790c28cd9d6de (patch)
tree48ccd76998c4f8639b96e4f403e07ee2acdd0429
parent37d39fd9c662ca3d8dcf46baabe5b2b63218a2c2 (diff)
www: browserlistrc for babel and autoprefixer
-rw-r--r--juick-server/.browserslistrc2
-rw-r--r--juick-server/package.json5
-rw-r--r--juick-server/webpack.config.js4
3 files changed, 4 insertions, 7 deletions
diff --git a/juick-server/.browserslistrc b/juick-server/.browserslistrc
new file mode 100644
index 00000000..8a747d5e
--- /dev/null
+++ b/juick-server/.browserslistrc
@@ -0,0 +1,2 @@
+ie >= 9
+android >= 4.2 \ No newline at end of file
diff --git a/juick-server/package.json b/juick-server/package.json
index 91808467..33de8cad 100644
--- a/juick-server/package.json
+++ b/juick-server/package.json
@@ -16,10 +16,7 @@
[
"@babel/preset-env",
{
- "useBuiltIns": "usage",
- "targets": {
- "browsers": "ie >= 9, android >= 4.2"
- }
+ "useBuiltIns": "usage"
}
]
]
diff --git a/juick-server/webpack.config.js b/juick-server/webpack.config.js
index 52fd2926..a290621a 100644
--- a/juick-server/webpack.config.js
+++ b/juick-server/webpack.config.js
@@ -37,9 +37,7 @@ module.exports = (env, argv) => {
{
loader: 'postcss-loader', options: {
plugins: () => [
- require('autoprefixer')({
- browsers: 'last 4 versions, > 1%, ie >= 9, android >= 4.2'
- })
+ require('autoprefixer')({})
]
}
}