@gustcss/vite 0.10.0 → 0.11.0
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 +45 -3
- package/dist/index.cjs +822 -11
- package/dist/index.d.ts +22 -0
- package/dist/index.mjs +821 -11
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,28 @@ export interface GustcssPluginOptions {
|
|
|
49
49
|
* Class names that must remain readable for external or ambiguous references.
|
|
50
50
|
*/
|
|
51
51
|
mangleExclude?: string[]
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Run `gustcss lint` while the dev server is running and report the
|
|
55
|
+
* diagnostics through the Vite logger. Enabled by `true` or an options
|
|
56
|
+
* object. Diagnostics never fail the dev server.
|
|
57
|
+
*
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
lint?: boolean | GustcssLintOptions
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Options for the dev-server lint integration.
|
|
65
|
+
*/
|
|
66
|
+
export interface GustcssLintOptions {
|
|
67
|
+
/**
|
|
68
|
+
* Also report custom-looking classes and low-confidence extractions
|
|
69
|
+
* (`gustcss lint --strict`).
|
|
70
|
+
*
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
strict?: boolean
|
|
52
74
|
}
|
|
53
75
|
|
|
54
76
|
/**
|