Skip to content

Commit d420474

Browse files
authored
Merge pull request #3 from udibo/dev
Remove installation instructions and add link to CSS Modules documentation
2 parents 30aff3d + 390cacd commit d420474

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

README.md

+3-18
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,6 @@ more.
2121

2222
## Documentation
2323

24-
### Installation
25-
26-
To be able to use this plugin, you will have to add the following entries to
27-
your deno.json file's `imports` array.
28-
29-
```json
30-
{
31-
"imports": {
32-
// Required for the plugin to work
33-
"@udibo/esbuild-plugin-postcss": "jsr:@udibo/esbuild-plugin-postcss@0.1",
34-
// Optional for the preprocessors to work
35-
"@udibo/esbuild-plugin-postcss/sass": "jsr:@udibo/esbuild-plugin-postcss/sass@0.1",
36-
"@udibo/esbuild-plugin-postcss/less": "jsr:@udibo/esbuild-plugin-postcss/less@0.1",
37-
"@udibo/esbuild-plugin-postcss/stylus": "jsr:@udibo/esbuild-plugin-postcss/stylus@0.1"
38-
}
39-
}
40-
```
41-
4224
### Outputs
4325

4426
This plugin has two different output formats. When the styles are the main
@@ -116,6 +98,9 @@ The output would look like this in the `./dist/index.css` file:
11698
This plugin supports CSS Modules. You can pass in the options for CSS Modules
11799
through the plugin options modules property.
118100

101+
To learn more about the CSS Modules options, see the
102+
[CSS Modules documentation](https://www.npmjs.com/package/postcss-modules).
103+
119104
In the following example, the css modules are enabled and using the default
120105
options.
121106

deno.jsonc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@udibo/esbuild-plugin-postcss",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"exports": {
55
".": "./postcss.ts",
66
"./less": "./less.ts",

0 commit comments

Comments
 (0)