You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -99,13 +99,17 @@ Default: `false`
99
99
100
100
Enables minifying of the transformed CSS output. If an object is specified, it will be passed to the [cssnano] plugin.
101
101
102
+
Experimental feature: if the object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
103
+
102
104
### `inline`
103
105
104
106
Type: `Boolean | Object`<br>
105
107
Default: `false`
106
108
107
109
Enables inlining of stylesheets and other assets. If an object is specified, it will have to include two properties pointing to objects: `{ stylesheets, assets }`. The `stylesheets` objects will be passed to the [postcss-import] plugin. The `assets` objects will be passed to the [postcss-url] plugin.
108
110
111
+
Experimental feature: if the object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
112
+
109
113
### `plugins`
110
114
111
115
Type: `Array<Object>`<br>
@@ -186,6 +190,8 @@ Passing a booleans to the `litCss` plugin - `{ minify: true, inline: true }` - w
186
190
187
191
Pass [options for cssnano] to `minify`, [options for postcss-import] to `inline.stylesheets` and [options for postcss-url] to `inline.assets`.
188
192
193
+
Experimental feature: if the `minify` or `inline` object is set to `{ fast: true }`, [esbuild] will be used instead of [postcss].
194
+
189
195
## Contributing
190
196
191
197
In lieu of a formal styleguide, take care to maintain the existing coding style. Lint and test your code.
@@ -208,6 +214,7 @@ Licensed under the [MIT License].
0 commit comments