File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
lib/esbuild-plugin-react18-css Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3333 name : Install dependencies
3434 # fail and not publish if any of the unit tests are failing
3535 - name : Build examples
36- run : cd../.. && pnpm build --filter esbuild-plugin-react18-css-example
36+ run : cd ../.. && pnpm build --filter esbuild-plugin-react18-css-example
3737 - name : Test
3838 run : pnpm test
3939 - name : Create release and publish to NPM
Original file line number Diff line number Diff line change 5757 " autoprefixer" ,
5858 " css-module" ,
5959 " scss-module" ,
60+ " sass-module" ,
6061 " postcss" ,
6162 " esbuild" ,
6263 " react18" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { compile } from "sass";
88
99const uuid = ( ) => ( Date . now ( ) * Math . random ( ) ) . toString ( 36 ) . slice ( 0 , 8 ) ;
1010
11- export interface CSSPluginOptions {
11+ interface CSSPluginOptions {
1212 /** by default name is generated without hash so that it is easier and reliable for library users to override some CSS */
1313 generateScopedName ?: string | ( ( className : string , filename : string , css : string ) => string ) ;
1414 /** set skipAutoPrefixer to true to disable autoprefixer */
@@ -139,4 +139,4 @@ const cssPlugin: (options?: CSSPluginOptions) => Plugin = (options = {}) => ({
139139 } ,
140140} ) ;
141141
142- export default cssPlugin ;
142+ export = cssPlugin ;
You can’t perform that action at this time.
0 commit comments