Skip to content

Commit

Permalink
Add postcss support
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew44-mappable committed Jul 5, 2024
1 parent 6ed4c84 commit 751c538
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 17 deletions.
144 changes: 128 additions & 16 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"identity-obj-proxy": "3.0.0",
"jest": "29.5.0",
"jsdom": "22.1.0",
"postcss": "^8.4.39",
"postcss-loader": "^8.1.1",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = (args, env, dir = process.cwd()) => {
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader']
use: ['style-loader', 'css-loader', 'postcss-loader']
},
{
test: /\.(eot|ttf|woff|woff2|png|jpg|gif)$/i,
Expand Down

0 comments on commit 751c538

Please sign in to comment.