Building for multiple targets
Hi, It's my first time using parcel. I was hoping to get it to build a NodeJS package that could also be used in the browser (i.e. by having built files that I can import) and saw that the intro mentioned that Parcel could help with that. …
Much larger bundle sizes with v2 than v1
From what I gather, tree shaking is now enabled by default in v2 and so I was very much surprised to find out that every single one of my trials / samples has produced bundles which are at least 2.5x - 4x(!) larger than what parcel 1.12.4 with --experimental-scope-hoisting…
Inlining SVG with @parcel/transformer-inline-string
I've been trying to inline SVG files into my TypeScript sources as string using the following .parcelrc config, but either I'm misunderstanding the purpose of this transformer or something's broken / not getting picked up... In the TS source, I'm then using: However, when…
Does adding support for new file types require resolver & transformer?
I am trying to create a plugin for reading Markdown files and I can only get it to work with both a resolver and a transformer. It looks a bit weird because I cannot implement both in the same package due to the naming restrictions. Is it true that for supporting a new file…
Tips for newbie on implementing transformers?
The primary objective is to implement the "transform" method, but what are the objects that are passed into it (asset, options, and config) and how are the typically used? Are their existing docs for this? Are there tests setup for existing transformers?
Creating a transformer that wraps CSS in JS for lit-element