File tree Expand file tree Collapse file tree 4 files changed +29
-8
lines changed
lib/esbuild-plugin-react18-css Expand file tree Collapse file tree 4 files changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,17 @@ esbuild.build({
68
68
69
69
``` tsx
70
70
interface CSSPluginOptions {
71
- /** by default name is generated without hash so that it is easier and reliable for library users to override some CSS*/
72
- generateScopedName? : string | ((className : string , filename : string , css : string ) => string );
71
+ /**
72
+ * By default name is generated without hash so that it is easier and reliable for library users to override some CSS.
73
+ * Refer [loader-utils docs](https://github.com/webpack/loader-utils?tab=readme-ov-file#interpolatename) for more options
74
+ * @defaultValue A function that generates name similar to [name]__[local] but without .module
75
+ */
76
+ generateScopedName? : string | ((className : string , path : string , css : string ) => string );
73
77
/** set skipAutoPrefixer to true to disable autoprefixer */
74
78
skipAutoPrefixer? : boolean ;
75
- /** global CSS class prefix. @defaultValue "" */
79
+ /** global CSS class prefix. @defaultValue undefined */
76
80
globalPrefix? : string ;
77
- /** If you want to keep .module.css files */
81
+ /** If you want to keep .module.css files. @defaultValue undefined */
78
82
keepModules? : boolean ;
79
83
}
80
84
```
Original file line number Diff line number Diff line change @@ -68,13 +68,17 @@ esbuild.build({
68
68
69
69
``` tsx
70
70
interface CSSPluginOptions {
71
- /** by default name is generated without hash so that it is easier and reliable for library users to override some CSS*/
72
- generateScopedName? : string | ((className : string , filename : string , css : string ) => string );
71
+ /**
72
+ * By default name is generated without hash so that it is easier and reliable for library users to override some CSS.
73
+ * Refer [loader-utils docs](https://github.com/webpack/loader-utils?tab=readme-ov-file#interpolatename) for more options
74
+ * @defaultValue A function that generates name similar to [name]__[local] but without .module
75
+ */
76
+ generateScopedName? : string | ((className : string , path : string , css : string ) => string );
73
77
/** set skipAutoPrefixer to true to disable autoprefixer */
74
78
skipAutoPrefixer? : boolean ;
75
- /** global CSS class prefix. @defaultValue "" */
79
+ /** global CSS class prefix. @defaultValue undefined */
76
80
globalPrefix? : string ;
77
- /** If you want to keep .module.css files */
81
+ /** If you want to keep .module.css files. @defaultValue undefined */
78
82
keepModules? : boolean ;
79
83
}
80
84
```
Original file line number Diff line number Diff line change 37
37
"tiny-glob" : " ^0.2.9" ,
38
38
"tsup" : " ^8.0.2" ,
39
39
"typedoc" : " ^0.25.13" ,
40
+ "typedoc-plugin-inline-sources" : " ^1.0.2" ,
41
+ "typedoc-plugin-mdn-links" : " ^3.1.23" ,
42
+ "typedoc-plugin-missing-exports" : " ^2.2.0" ,
43
+ "typedoc-plugin-rename-defaults" : " ^0.7.0" ,
44
+ "typedoc-plugin-zod" : " ^1.1.2" ,
40
45
"typescript" : " ^5.4.5" ,
41
46
"vitest" : " ^1.5.2"
42
47
},
Original file line number Diff line number Diff line change @@ -6,4 +6,12 @@ module.exports = {
6
6
tsconfig : "./tsconfig.doc.json" ,
7
7
out : "../../docs" ,
8
8
commentStyle : "all" ,
9
+ searchInComments : true ,
10
+ plugin : [
11
+ "typedoc-plugin-mdn-links" ,
12
+ "typedoc-plugin-rename-defaults" ,
13
+ "typedoc-plugin-missing-exports" ,
14
+ "typedoc-plugin-zod" ,
15
+ "typedoc-plugin-inline-sources" ,
16
+ ] ,
9
17
} ;
You can’t perform that action at this time.
0 commit comments