File tree 2 files changed +4
-19
lines changed
2 files changed +4
-19
lines changed Original file line number Diff line number Diff line change 21
21
22
22
## Documentation
23
23
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
-
42
24
### Outputs
43
25
44
26
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:
116
98
This plugin supports CSS Modules. You can pass in the options for CSS Modules
117
99
through the plugin options modules property.
118
100
101
+ To learn more about the CSS Modules options, see the
102
+ [ CSS Modules documentation] ( https://www.npmjs.com/package/postcss-modules ) .
103
+
119
104
In the following example, the css modules are enabled and using the default
120
105
options.
121
106
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : "@udibo/esbuild-plugin-postcss" ,
3
- "version" : "0.1.1 " ,
3
+ "version" : "0.1.2 " ,
4
4
"exports" : {
5
5
"." : "./postcss.ts" ,
6
6
"./less" : "./less.ts" ,
You can’t perform that action at this time.
0 commit comments