WebExtension manifest transformer for Parcel 2?
I tried to make one but it doesn't work: https://github.com/phaux/parcel-transformer-webextension/blob/master/src/WebExtensionTransformer.js When using asset.addURLDependency() it returns some kind of hash instead of a transformed filename. Everything except that works. Only the…
Static CSS-in-JS extraction - Help with Parcel2 plugin
How can this be done in a Parcel 2 plugin? I have it sort of working here in Parcel 1, but it doesn't work entirely. If CSS is set to final: true, things work but the CSS is not processed by PostCSS. If the CSS is not set to final, the CSS is correctly processed but the JS does…
Safe to put our own stuff in `Asset.cacheData`?
My asset class is currently putting some data in this.cacheData since it's a property that is copied from workers back to the main process (and I want to be able to access it in my bundler.on('bundled') handler. Is it safe to use cacheData this way?
Why are assets loaded more than once on initial startup?
Hi, I'm relatively new to Parcel and am working on my first plugin (tslinting TypeScript assets on load): When I run Parcel (and my plugin), every .ts file in my project appears to be loaded twice (i.e., the console output is displayed twice: The "asset is loaded twice" behavior…
Need help: How do I run compass with sass?
Hi, I'm compiling my CSS using sass (.scss). I would like to use the inline-image function provided by compass (http://compass-style.org/). How do I import compass to my parcel project? I can see that SASS is looking for .sassrc config file…