Skip to content

Commit

Permalink
Add postcss-nested plugin for support old browsers (#22)
Browse files Browse the repository at this point in the history
<!--

Thank you for submitting a pull request!

Here's a checklist you might find useful.
[ ] There is an associated issue that is labelled
  'Bug' or 'help wanted' or is in the Community milestone
[ ] Code is up-to-date with the `main` branch
[ ] You've successfully run `npm test` locally
[ ] There are new or updated tests validating the change

-->

Fixes #
  • Loading branch information
matthew44-mappable authored Jul 5, 2024
1 parent 116b0b6 commit 1e77dbd
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 16 deletions.
127 changes: 112 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"sync-colors": "node -r dotenv/config -r ts-node/register ./tools/scripts/sync-colors.ts"
},
"devDependencies": {
"@mappable-world/mappable-cli": "^0.0.34",
"@mappable-world/mappable-cli": "^0.0.35",
"@mappable-world/mappable-types": "^0.0.20",
"@types/got": "9.6.12",
"@types/jest": "29.5.3",
Expand All @@ -45,6 +45,9 @@
"jsdom": "22.1.0",
"lodash": "^4.17.21",
"nanospinner": "^1.1.0",
"postcss": "^8.4.39",
"postcss-loader": "^8.1.1",
"postcss-nested": "^6.0.1",
"prettier": "3.0.0",
"style-loader": "3.3.3",
"svgo": "^3.2.0",
Expand Down
3 changes: 3 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
plugins: [require('postcss-nested')]
};

0 comments on commit 1e77dbd

Please sign in to comment.