Releases: tonysm/importmap-laravel
Releases · tonysm/importmap-laravel
2.3.1
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.1
What's Changed
- Fix: Prevent Type Error: Unsupported operand types: null + array by @JunaidQadirB in #48
- Fix: Optimize command wasn't working when specifying public vendor lib starting with a forward slash (
/vendor/my-lib.js
, for instance) 4e17a78 - Fix: Digest wasn't being applied on public vendor libs when starting with a forward slash either 139b788
New Contributors
- @JunaidQadirB made their first contribution in #48
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- Drops the shim by @tonysm in #43
- Preload default by @tonysm in #44
- Always download dependencies by @tonysm in #45
- Dont optimize with URL by @tonysm in #46
- Install with default jsconfig.json by @tonysm in #47
Full Changelog: 1.8.3...2.0.0
Upgrade Guide
The pinned imports to CDN URLs will still work, but I recommend you re-pin them now and host them yourself (we're now always downloading vendor libs to resources/js/vendor/
).
The <x-importmap-tags />
component has changed to <x-importmap::tags />
so you can run the following command to replace all occurrences of the previous component name in your layout files:
sed -i 's/x-importmap-tags/x-importmap::tags/g' resources/**/*.php
Also, ensure you have php artisan view:cache
in your deployment script.