Skip to content

Commit

Permalink
Merge pull request #3311 from gemini-hlsw/update-browserslist
Browse files Browse the repository at this point in the history
Update browserslist configuration
  • Loading branch information
hugo-vrijswijk authored Sep 25, 2023
2 parents 334e656 + 5cd899c commit 53e5a8c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "scalameta.metals", "stylelint.vscode-stylelint"]
}
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"**/target": true
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
}
},
"editor.formatOnSave": true
"editor.formatOnSave": true,
"stylelint.validate": ["css", "scss"]
}
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,14 @@
"build": "node --unhandled-rejections=strict build.mjs",
"serve": "vite preview"
},
"browserslist": [
"supports es6-module",
"last 2 versions",
"Firefox ESR"
]
"browserslist": {
"production": [
"defaults and supports es6-module"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

0 comments on commit 53e5a8c

Please sign in to comment.