Skip to content

Releases: tonysm/importmap-laravel

1.2.0

03 Jul 00:25
e4099a4
Compare
Choose a tag to compare

Changelog

  • CHANGED: The importmap:install command was changed to work with the new Vite setup in Laravel. It should also still work on installs in the Laravel 8 frontends setups using Mix.

1.1.1

30 Jun 20:30
5597237
Compare
Choose a tag to compare

Changelog

  • FIXED: The importmap:pin command was breaking depending on the package name because we needed to wrap the package name using the preg_quote to escape it. Otherwise, some characters might become part of the regex itself. #16

1.1.0

27 Jun 00:06
21db811
Compare
Choose a tag to compare

Changelog

  • Bumps es-module-shims to version 1.5.8 (21db811)

1.0.0

30 May 21:35
630f5b9
Compare
Choose a tag to compare

Changelog

  • NEW: Adds importmap:audit and importmap:outdated commands (#14)
  • CHANGED: Bumps the es-module-shims dependency (#14)

0.4.1

13 Feb 16:59
f7b68e9
Compare
Choose a tag to compare

Changelog

  • FIXED: Pinned directories were not working on Windows because we're using / instead of \. Anyways, that should be fixed now. Define the directories with / as you would on any Unix/Linux OS and the package will make sure that gets converted to the correct directory separator when dealing with file paths and to the / separator when dealing with URIs #5

0.4.0

13 Feb 02:12
14bfdef
Compare
Choose a tag to compare

Changelog

  • CHANGED: Changes the manifest filename to be .importmap-manifest.json (with a dot prefix) so it can be included in the Vapor artifact (which doesn't remove dotfiles by default).
  • ADDED: Adds a new config entry for the manifest location. If you have published your importmap.php config file, make sure you re-publish that (no need to publish it if you haven't done that)

0.3.0

09 Feb 01:21
9c1d39a
Compare
Choose a tag to compare

Changelog

  • CHANGED: Laravel 9 support (nothing really changed in the app, just the version constraints)

0.2.0

27 Jan 03:18
a10bd86
Compare
Choose a tag to compare

Changelog

  • FIXED: The manifest already had the final asset URL on it, which is handled by the optimize command, so we don't need to call the asset resolver when the manifest exists
  • NEW: Added an AssetResolver invokable class which should add a ?digest=$HASH to the asset URL, which is useful for cache busting while in local development. This won't be used in production as the optimize command already generates the full URLs there, which means the AssetResolver won't be called
  • CHANGED: The entrypoint was made optional and it defaults to the app module, which matches the "entrypoint" file in the default Laravel install (resources/js/app.js)