File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ A esbuild plugin to bundle css modules into js(x)/ts(x).
7
7
8
8
Works both with ` bundle: false ` and ` bundle: true ` .
9
9
10
- If build with ` bundle: false ` , ` xxx.modules.css ` will be transformed to ` xxx.modules.css. js ` .
10
+ If build with ` bundle: false ` , ` xxx.modules.css ` will be transformed to ` xxx.modules.js ` .
11
11
12
- See [ ` ./test/test.js ` ] ( https://github.com/indooorsman/esbuild-css-modules-plugin/blob/master /test/test.js ) for examples.
12
+ See [ ` ./test/test.js ` ] ( https://github.com/indooorsman/esbuild-css-modules-plugin/blob/v3 /test/test.js ) for examples.
13
13
14
14
## Install
15
15
@@ -102,7 +102,7 @@ esbuild.build({
102
102
*/
103
103
inject: false ,
104
104
105
- /** Optional. Regex to filter certain CSS files. */
105
+ /** Optional. Regex to filter certain CSS files. default is `/\.modules?\.css$/i` */
106
106
filter: / \. modules? \. css$ / i
107
107
})
108
108
]
You can’t perform that action at this time.
0 commit comments