New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace webpack with Parcel #44
Conversation
Another Parcel issue I found is that This isn't an immediate issue here but it's an issue for Safari extensions because (sigh) Xcode configuration files include a static list of files to include. |
Yeah, I've noticed that as well: parcel-bundler/parcel#5894 |
Thank you, excellent! |
Since parcel-bundler/parcel#5858 isn't currently possible, I temporarily avoided that issue altogether with the commit above. This requires the user to manually load the polyfill in every file in order to use the browser API, but at least people can already start using Parcel without us having to wait for a fix. |
Closes #34
Based on fregante/GhostText#187, npmhub/npmhub#119, tanmayrajani/notifications-preview-github#113
But this PR introduces some cool changes like the preservation of
webextension-polyfill
without any bundling whatsoever, so it can be imported globally and once instead of once per bundle.Wishlist/todo
webext-options-sync
to its own "vendor" entry so it's not bundled 3 times separately [Web Extension Transformer] doesn't support code splitting parcel-bundler/parcel#5859Current output