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.
Asked: 2023-06-30 06:20:40 +0000
Seen: 9 times
Last updated: Jun 30 '23