mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
[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
1
.browserslistrc
Normal file
1
.browserslistrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
> 0.5%, last 3 major versions, Firefox ESR, not dead
|
@ -66,8 +66,7 @@ const moduleRules = [
|
|||||||
{
|
{
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
options: {
|
options: {
|
||||||
configFile: false,
|
configFile: "../../babel.config.json",
|
||||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -24,8 +24,7 @@ const common = {
|
|||||||
{
|
{
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
options: {
|
options: {
|
||||||
configFile: false,
|
configFile: "../../babel.config.json",
|
||||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -68,8 +68,7 @@ const moduleRules = [
|
|||||||
{
|
{
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
options: {
|
options: {
|
||||||
configFile: false,
|
configFile: "../../babel.config.json",
|
||||||
plugins: ["@angular/compiler-cli/linker/babel"],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
4
babel.config.json
Normal file
4
babel.config.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"presets": ["@babel/preset-env"],
|
||||||
|
"plugins": ["@angular/compiler-cli/linker/babel"]
|
||||||
|
}
|
1468
package-lock.json
generated
1468
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -41,6 +41,8 @@
|
|||||||
"@angular/cli": "16.2.11",
|
"@angular/cli": "16.2.11",
|
||||||
"@angular/compiler-cli": "16.2.12",
|
"@angular/compiler-cli": "16.2.12",
|
||||||
"@angular/elements": "16.2.12",
|
"@angular/elements": "16.2.12",
|
||||||
|
"@babel/core": "^7.24.6",
|
||||||
|
"@babel/preset-env": "^7.24.6",
|
||||||
"@compodoc/compodoc": "1.1.23",
|
"@compodoc/compodoc": "1.1.23",
|
||||||
"@electron/notarize": "2.3.0",
|
"@electron/notarize": "2.3.0",
|
||||||
"@electron/rebuild": "3.6.0",
|
"@electron/rebuild": "3.6.0",
|
||||||
@ -83,7 +85,9 @@
|
|||||||
"@webcomponents/custom-elements": "1.6.0",
|
"@webcomponents/custom-elements": "1.6.0",
|
||||||
"@yao-pkg/pkg": "^5.11.5",
|
"@yao-pkg/pkg": "^5.11.5",
|
||||||
"autoprefixer": "10.4.19",
|
"autoprefixer": "10.4.19",
|
||||||
|
"babel-loader": "^9.1.3",
|
||||||
"base64-loader": "1.0.0",
|
"base64-loader": "1.0.0",
|
||||||
|
"browserslist": "^4.23.0",
|
||||||
"chromatic": "10.9.6",
|
"chromatic": "10.9.6",
|
||||||
"concurrently": "8.2.2",
|
"concurrently": "8.2.2",
|
||||||
"copy-webpack-plugin": "12.0.2",
|
"copy-webpack-plugin": "12.0.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user