Change the way classes are imported from parcel-bundler
to hopefully
work better if parcel-bundler
is installed globally instead of locally
in mode_modules
.
Remove the workaround to try to ensure the hash in the filename updates based on changes to referenced files. It was buggy.
This means that if you using urls files that have a hash in their name, the filename might not update even if a filename inside the file changes.
This could be considered a bug/issue in parcel itself, see parcel-bundler/parcel#1481
- Update to
[email protected]
- Fix an issue where workers created for hash calculation were not stopped
Calculate and insert a hash of referenced assets into the output to ensure parcel uses a new file has for the generated bundle if assets have changed.
Add urls and json packagers to merge urls lists into a bundle if indicated.
Add support for custom keys per path.
Change file extension to .urls instead of .assets
Apply --public-url option to asset URLs in the output.