Skip to content

Commit

Permalink
[React] Fix bump browser-sync from 2.29.3 to 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Jan 27, 2025
1 parent c9a6b93 commit 87c013d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generators/react/resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/redux": "3.6.31",
"@types/webpack-env": "1.18.5",
"autoprefixer": "10.4.20",
"browser-sync": "2.29.3",
"browser-sync": "3.0.3",
"browser-sync-webpack-plugin": "2.3.0",
"copy-webpack-plugin": "12.0.2",
"core-js": "3.40.0",
Expand Down
5 changes: 5 additions & 0 deletions generators/react/templates/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
"config": {
"default_environment": "prod"
},
"overrides": {
"browser-sync-webpack-plugin": {
"browser-sync": "$browser-sync"
}
},
"scripts": {
"lint": "eslint .",
"lint:fix": "<%= clientPackageManager %> run lint -- --fix",
Expand Down

0 comments on commit 87c013d

Please sign in to comment.