@gustcss/vite 0.9.2 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -0
- package/dist/index.cjs +1153 -14
- package/dist/index.d.ts +21 -0
- package/dist/index.mjs +1149 -11
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,27 @@ export interface GustcssPluginOptions {
|
|
|
28
28
|
* Wrap the generated utilities in `@layer` blocks.
|
|
29
29
|
*/
|
|
30
30
|
outputToCssLayers?: boolean
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Shorten generated class names during `vite build` for HTML, JS, TS, JSX,
|
|
34
|
+
* and TSX. Development builds keep readable names. Ambiguous or unsupported
|
|
35
|
+
* references fail the build; Vue, Astro, and Svelte templates are not yet supported.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
mangleClassNames?: boolean
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Path to the generated class-name manifest.
|
|
43
|
+
*
|
|
44
|
+
* @default '<output>.classes.json'
|
|
45
|
+
*/
|
|
46
|
+
mangleMap?: string
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Class names that must remain readable for external or ambiguous references.
|
|
50
|
+
*/
|
|
51
|
+
mangleExclude?: string[]
|
|
31
52
|
}
|
|
32
53
|
|
|
33
54
|
/**
|