diff --git a/packages/core-js/babel.config.json b/packages/core-js/babel.config.json index 12fbfa49..ed1f3427 100644 --- a/packages/core-js/babel.config.json +++ b/packages/core-js/babel.config.json @@ -4,7 +4,13 @@ "@babel/preset-env", { "corejs": "3.15", - "useBuiltIns": "usage" + "useBuiltIns": "usage", + "targets": { + "browsers": [ + "last 5 versions", + "ie >= 8" + ] + } } ] ] diff --git a/packages/core-js/package.json b/packages/core-js/package.json index 7695727f..a8ef5089 100644 --- a/packages/core-js/package.json +++ b/packages/core-js/package.json @@ -20,7 +20,7 @@ }, "scripts": { "build": "webpack --config webpack.prod.js", - "start": "webpack serve --config webpack.dev.js" + "dev": "webpack --mode development" }, "devDependencies": { "@babel/core": "^7.14.6", diff --git a/packages/mindplot/babel.config.json b/packages/mindplot/babel.config.json index 0af3c4b9..ed1f3427 100644 --- a/packages/mindplot/babel.config.json +++ b/packages/mindplot/babel.config.json @@ -3,8 +3,14 @@ [ "@babel/preset-env", { - "corejs": "3.9", - "useBuiltIns": "usage" + "corejs": "3.15", + "useBuiltIns": "usage", + "targets": { + "browsers": [ + "last 5 versions", + "ie >= 8" + ] + } } ] ] diff --git a/packages/mindplot/package.json b/packages/mindplot/package.json index efd02841..2321c9e9 100644 --- a/packages/mindplot/package.json +++ b/packages/mindplot/package.json @@ -21,8 +21,8 @@ }, "scripts": { "build": "webpack --config webpack.prod.js", - "playground": "webpack serve --config webpack.playground.js", - "start": "webpack serve --config webpack.dev.js" + "dev": "webpack serve --config webpack.dev.js", + "playground": "webpack serve --config webpack.playground.js" }, "dependencies": { "@wismapping/core-js": "^0.0.1", diff --git a/packages/web2d/babel.config.json b/packages/web2d/babel.config.json index 79b97dfa..eb768e59 100644 --- a/packages/web2d/babel.config.json +++ b/packages/web2d/babel.config.json @@ -3,10 +3,17 @@ [ "@babel/preset-env", { - "corejs": "3.9", - "useBuiltIns": "usage" + "corejs": "3.15", + "useBuiltIns": "usage", + "targets": { + "browsers": [ + "last 5 versions", + "ie >= 8" + ] + } } - ] + ] ], "plugins": ["@babel/plugin-transform-modules-commonjs"] + } diff --git a/packages/web2d/package.json b/packages/web2d/package.json index dba5ef7e..f56b9f2d 100644 --- a/packages/web2d/package.json +++ b/packages/web2d/package.json @@ -20,7 +20,7 @@ "url": "git@bitbucket.org:wisemapping/wisemapping-frontend.git" }, "scripts": { - "start": "nodemon --watch lib", + "dev": "webpack --config webpack.dev.js", "build": "webpack --config webpack.prod.js", "playground": "webpack serve --config webpack.playground.js" },