How can I use a custom parcel plugin with Plasmo? #763
Replies: 1 comment 1 reply
-
@steve-zhu-sh PR's welcome to just add it to the default config! - Otherwise we're not reading in extra config file atm <- PR is welcome to enable that as well (think it shouldn't be too hard) Re: default config, push a PR to: Re: extra config file, the relevant code is: plasmo/cli/plasmo/src/features/helpers/create-parcel-bundler.ts Lines 66 to 74 in 0fcb84c (The idea is that we would read-in an extra config.json from the user (prob use .parcelrc or the like), and replace/concat as necessary (the tricky bit is to ensure ppl not shooting themselves in the foot... but I think a naive implementation might work just fine) |
Beta Was this translation helpful? Give feedback.
-
Some libraries might require build plugins like vanilla-extract: https://vanilla-extract.style/documentation/integrations/parcel/
Is there a way to use this library with Plasmo?
Beta Was this translation helpful? Give feedback.
All reactions