You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 using createFilter from @rollup/pluginutils and filtering based on the id in the transform plugin function.
This discussion was converted from issue #1564 on August 23, 2023 15:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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