Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it is possible to exclude certain packages or libraries from SWC's minification using configuration options. For example, in the SWC configuration file, you can use the ignore option to specify which packages or files should be excluded from minification:

{
  "ignore": [
    "**/react/**",
    "**/jquery/**"
  ]
}

This configuration will exclude all files within the react and jquery packages from being included in the minified output.