You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Importing an importmap pin whose file is not in the asset load path, such as pin "blocks/pele", to: "pele_block.js" before pele_block.js exists or is built, fails with an error that names the pin and its file, when the import runs, as in a browser. Before, building the bundle failed with a path nobody wrote, such as Cannot read file: app/javascript/blocks/pele.js when a pin_all_from directory shared the pin's prefix, and a dynamic import of it failed with no word of the pin. A file of the pin's name in a pin_all_from directory is still used instead, as importmap-rails maps it.