For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/css-extract-webpack-plugin.loaderoptions.emit.md.
This is the dev preview website. Check out the document at lynx-stack.dev

Home > @lynx-js/css-extract-webpack-plugin > LoaderOptions > emit

LoaderOptions.emit property

The same as mini-css-extract-plugin. Control whether emit the CSS to filesystem.

  • If true(default), emits a file (writes a file to the filesystem).

  • If false, the plugin will extract the CSS but will not emit the file.

It is often useful to disable this option for server-side packages.

Signature:

emit?: boolean;

Default Value

true