@rollup/plugin-swc does not allow input files to be filtered #1565
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Expected Behavior
Allow input files to be filtered for @rollup/plugin-swc. I am building a web app and want to exclude files from being process by SWC like CSS imports for example. This plugin should function like other
@rollup
plugins by usingcreateFilter
from@rollup/pluginutils
and filtering based on theid
in thetransform
plugin function.Actual Behavior
All files get process by SWC. See https://github.com/rollup/plugins/blob/swc-v0.1.1/packages/swc/src/module.ts#L27
Beta Was this translation helpful? Give feedback.
All reactions