🙋 feature request
🤔 Expected Behavior
Parcel takes a
manifest.json (not to be confused with normal web app
manifest.json) as the entry point, and handles the assets (HTML, JS, CSS, image files) defined in there. It copies them, as well as referenced assets inside, to
./dist. Of course, assets will be processed if necessary, i.e., TS to JS, LESS to CSS.
😯 Current Behavior
Parcel only copies the
💁 Possible Solution
Implements a new Asset handler for this.
When developing an extension for browsers, there are many different files in different places, i.e.,
inject/inject.less…. However, they are all defined in the main
manifest.json, which makes it suitable for being the entry point.
Besides, Parcel does not handle multiple entry points nicely, yet.