[PM-6788][PM-7755] add babel/preset-env and browserslist (#9383)
* add babel present-env and browserslist --------- Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
This commit is contained in:
parent
85843c8baa
commit
868e0a5ac9
|
@ -0,0 +1 @@
|
|||
> 0.5%, last 3 major versions, Firefox ESR, not dead
|
|
@ -66,8 +66,7 @@ const moduleRules = [
|
|||
{
|
||||
loader: "babel-loader",
|
||||
options: {
|
||||
configFile: false,
|
||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
||||
configFile: "../../babel.config.json",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -24,8 +24,7 @@ const common = {
|
|||
{
|
||||
loader: "babel-loader",
|
||||
options: {
|
||||
configFile: false,
|
||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
||||
configFile: "../../babel.config.json",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -68,8 +68,7 @@ const moduleRules = [
|
|||
{
|
||||
loader: "babel-loader",
|
||||
options: {
|
||||
configFile: false,
|
||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
||||
configFile: "../../babel.config.json",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"presets": ["@babel/preset-env"],
|
||||
"plugins": ["@angular/compiler-cli/linker/babel"]
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -41,6 +41,8 @@
|
|||
"@angular/cli": "16.2.11",
|
||||
"@angular/compiler-cli": "16.2.12",
|
||||
"@angular/elements": "16.2.12",
|
||||
"@babel/core": "^7.24.6",
|
||||
"@babel/preset-env": "^7.24.6",
|
||||
"@compodoc/compodoc": "1.1.23",
|
||||
"@electron/notarize": "2.3.0",
|
||||
"@electron/rebuild": "3.6.0",
|
||||
|
@ -83,7 +85,9 @@
|
|||
"@webcomponents/custom-elements": "1.6.0",
|
||||
"@yao-pkg/pkg": "^5.11.5",
|
||||
"autoprefixer": "10.4.19",
|
||||
"babel-loader": "^9.1.3",
|
||||
"base64-loader": "1.0.0",
|
||||
"browserslist": "^4.23.0",
|
||||
"chromatic": "10.9.6",
|
||||
"concurrently": "8.2.2",
|
||||
"copy-webpack-plugin": "12.0.2",
|
||||
|
|
Loading…
Reference in New Issue