options-object-requiredAn options argument that is not the one object the call takes.
code is this id.A name in angle brackets is a value the message fills in.
transform[csszyx] options-object-required: `transform` takes its options in one object, so a second argument that is not an object, or a third argument, is refused.
help: pass the prefix and the mangle map as keys: `transform(sz, { prefix: 'hover:', mangleMap })`.
docs: https://csszyx.com/e/options-object-required
A production browser bundle throws this in place of it:
[csszyx] options-object-required: {"form":"transform","options":["<options>"]} https://csszyx.com/e/options-object-required
csszyx-turbopack[csszyx] options-object-required: `csszyxTurbopack` takes one object, with the config to extend under `turbopack`, so a second argument is refused.
help: write `csszyxTurbopack({ turbopack: <your config>, ...options })`; loader options go beside `turbopack`.
docs: https://csszyx.com/e/options-object-required
A production browser bundle throws this in place of it:
[csszyx] options-object-required: {"form":"csszyx-turbopack","options":["<options>"]} https://csszyx.com/e/options-object-required
csszyx-turbopack-option[csszyx] options-object-required: `csszyxTurbopack` has no option(s) `<options>`, so the call is refused.
help: use `config`, `glob`, `importedStaticSz`, `mergeCoveredClasses`, `parserMode`, `safelistOutputFile`, `tailwindStylesheet` or `turbopack`; a Turbopack setting such as `rules` goes under `turbopack`.
docs: https://csszyx.com/e/options-object-required
A production browser bundle throws this in place of it:
[csszyx] options-object-required: {"form":"csszyx-turbopack-option","options":["<options>"]} https://csszyx.com/e/options-object-required
The values this diagnostic names.
| Name | Type | |
|---|---|---|
form | 'transform' | 'csszyx-turbopack' | 'csszyx-turbopack-option' | |
options | string[] | optional |