menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Parcel

📦🚀 Blazing fast, zero configuration web application bundler

Channels
Team

Safe to put our own stuff in `Asset.cacheData`?

November 21, 2018 at 1:51pm

Safe to put our own stuff in `Asset.cacheData`?

November 21, 2018 at 1:51pm
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?

November 26, 2018 at 6:58am