es2017 everywhere

This commit is contained in:
Steve Faulkner 2020-12-22 17:39:01 -06:00
parent 39f77adc11
commit a7b5c89ff8
3 changed files with 1 additions and 15 deletions

13
package-lock.json generated
View File

@ -9231,11 +9231,6 @@
"through": "~2.3.6"
}
},
"esbuild": {
"version": "0.7.22",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.7.22.tgz",
"integrity": "sha512-B43SYg8LGWYTCv9Gs0RnuLNwjzpuWOoCaZHTWEDEf5AfrnuDMerPVMdCEu7xOdhFvQ+UqfP2MGU9lxEy0JzccA=="
},
"esbuild-loader": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/esbuild-loader/-/esbuild-loader-2.7.0.tgz",
@ -9283,14 +9278,6 @@
}
}
},
"esbuild-webpack-plugin": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/esbuild-webpack-plugin/-/esbuild-webpack-plugin-1.1.0.tgz",
"integrity": "sha512-24E93ml+cTT69DIm7f5nKimkNXKFiiqPZNu7eWYBA/Do7AdT/O7kZidmPTxY8bRyhkk6lvNrhnjEZyJSzOvEEA==",
"requires": {
"esbuild": "^0.7.15"
}
},
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",

View File

@ -57,7 +57,6 @@
"dotenv": "8.2.0",
"es6-object-assign": "1.1.0",
"es6-symbol": "3.1.3",
"esbuild-webpack-plugin": "1.1.0",
"eslint-plugin-jest": "23.13.2",
"eslint-plugin-react": "7.20.0",
"hasher": "1.2.0",

View File

@ -195,7 +195,7 @@ module.exports = function(env = {}, argv = {}) {
minimize: mode === "production" ? true : false,
minimizer: [
new ESBuildMinifyPlugin({
target: "es2015" // Syntax to compile to (see options below for possible values)
target: "es2017" // Syntax to compile to (see options below for possible values)
})
]
},