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
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,13 @@ Different formatting of identifiers (e.g. class names, keyframes, CSS Vars, etc)
393
393
394
394
Each integration will set a default value based on the configuration options passed to the bundler.
395
395
396
+
### esbuildOptions
397
+
> Only for `esbuild`, `vite` and `rollup` plugins
398
+
399
+
The `vite`, `esbuild` and `rollup` plugins use esbuild internally to compile `.css.ts` files before running them to extract styles. You can pass additional options here to customize that process.
400
+
401
+
Accepts a subset of esbuild build options (`plugins`, `external`, `define` and `loader`), see https://esbuild.github.io/api/#build-api. The options are deep merged with the default options provided by Vanilla Extract.
Copy file name to clipboardExpand all lines: site/docs/setup.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -306,3 +306,11 @@ Different formatting of identifiers (e.g. class names, keyframes, CSS Vars, etc)
306
306
- `debug` identifiers contain human readable prefixes representing the owning filename and a potential rule level debug name. e.g. `myfile_mystyle_hnw5tz3`
307
307
308
308
Each integration will set a default value based on the configuration options passed to the bundler.
309
+
310
+
### esbuildOptions
311
+
312
+
> Only for `esbuild`, `vite` and `rollup` plugins
313
+
314
+
The `vite`, `esbuild` and `rollup` plugins use esbuild internally to compile `.css.ts` files before running them to extract styles. You can pass additional options here to customize that process.
315
+
316
+
Accepts a subset of esbuild build options (`plugins`, `external`, `define` and `loader`), see https://esbuild.github.io/api/#build-api. The options are deep merged with the default options provided by Vanilla Extract.
0 commit comments