mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Remove useBuiltIns configuation
This commit is contained in:
parent
43b3f45ac8
commit
182c48627e
@ -3,8 +3,7 @@
|
|||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"corejs": "3.15",
|
"useBuiltIns": false,
|
||||||
"useBuiltIns": "usage",
|
|
||||||
"targets": {
|
"targets": {
|
||||||
"esmodules": true
|
"esmodules": true
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,9 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
target: 'web',
|
target: 'web',
|
||||||
|
optimization: {
|
||||||
|
usedExports: true,
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"corejs": "3.15",
|
"useBuiltIns": false,
|
||||||
"useBuiltIns": "usage",
|
|
||||||
"targets": {
|
"targets": {
|
||||||
"esmodules": true
|
"esmodules": true
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
const { merge } = require('webpack-merge');
|
const { merge } = require('webpack-merge');
|
||||||
const common = require('./webpack.common');
|
const common = require('./webpack.common');
|
||||||
|
|
||||||
/** @type {import('webpack').Configuration} */
|
|
||||||
const prodConfig = {
|
const prodConfig = {
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"corejs": "3.15",
|
"useBuiltIns": false,
|
||||||
"useBuiltIns": "usage",
|
|
||||||
"targets": {
|
"targets": {
|
||||||
"esmodules": true
|
"esmodules": true
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,9 @@ module.exports = {
|
|||||||
type: 'umd',
|
type: 'umd',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
optimization: {
|
||||||
|
usedExports: true,
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
@ -4185,7 +4185,7 @@ clean-webpack-plugin@^3.0.0:
|
|||||||
"@types/webpack" "^4.4.31"
|
"@types/webpack" "^4.4.31"
|
||||||
del "^4.1.1"
|
del "^4.1.1"
|
||||||
|
|
||||||
clean-webpack-plugin@^4.0.0-alpha.0:
|
clean-webpack-plugin@^4.0.0, clean-webpack-plugin@^4.0.0-alpha.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz#72947d4403d452f38ed61a9ff0ada8122aacd729"
|
resolved "https://registry.yarnpkg.com/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz#72947d4403d452f38ed61a9ff0ada8122aacd729"
|
||||||
integrity sha512-WuWE1nyTNAyW5T7oNyys2EN0cfP2fdRxhxnIQWiAp0bMabPdHhoGxM8A6YL2GhqwgrPnnaemVE7nv5XJ2Fhh2w==
|
integrity sha512-WuWE1nyTNAyW5T7oNyys2EN0cfP2fdRxhxnIQWiAp0bMabPdHhoGxM8A6YL2GhqwgrPnnaemVE7nv5XJ2Fhh2w==
|
||||||
@ -8497,7 +8497,7 @@ joi@^17.4.0:
|
|||||||
"@sideway/formula" "^3.0.0"
|
"@sideway/formula" "^3.0.0"
|
||||||
"@sideway/pinpoint" "^2.0.0"
|
"@sideway/pinpoint" "^2.0.0"
|
||||||
|
|
||||||
jquery@^3.6.0:
|
jquery@3.6.0:
|
||||||
version "3.6.0"
|
version "3.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470"
|
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470"
|
||||||
integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==
|
integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==
|
||||||
|
Loading…
Reference in New Issue
Block a user