aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-07 13:48:15 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit282e499d6afb793f413e080d30c6cd219a78ef06 (patch)
tree1fc22764398489c343d006e614ef0cbcee0fd410 /vnext
parentf7452e1928a4684b1b93790094b084dd1a445209 (diff)
merge project changes from legacy
Diffstat (limited to 'vnext')
-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')({})
]
}
}