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;