Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glromeo authored Mar 20, 2023
1 parent 58bc668 commit 7d7c116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ A plugin for [esbuild](https://esbuild.github.io/) to handle Sass & SCSS files.
* The support for [node-sass](https://github.com/sass/node-sass) has been removed and for good.
Sadly, node-sass is at a dead end and so it's 1.x. I don't exclude updates or fixes on it but it's down in the list of
my priorities.
* `transform` now is expected to send back the CSS text in contents and anything that has to be default exported in `pluginData`.

### Install

Expand Down Expand Up @@ -359,7 +360,7 @@ esbuild.build({
})

```
`postcssModules` produces Javascript modules which are handled by esbuild's `js` loader, so the `type` option is **ignored**
`postcssModules` produces Javascript modules which are handled by esbuild's `js` loader
`postcssModules` also accepts an optional array of plugins for PostCSS as second parameter.
Expand Down

0 comments on commit 7d7c116

Please sign in to comment.