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
I am using tom-select via importmaps in my Rails app. I was on v2.3.1 but after running importmap pin tom-select to get v2.4.1 it appears to have downloaded the wrong version from the cdn.
I got the following output
❯ importmap pin tom-select
Pinning "tom-select" to vendor/javascript/tom-select.js via download from https://ga.jspm.io/npm:[email protected]/dist/esm/tom-select.complete.js
Pinning "@orchidjs/sifter" to vendor/javascript/@orchidjs/sifter.js via download from https://ga.jspm.io/npm:@orchidjs/[email protected]/dist/esm/sifter.js
Pinning "@orchidjs/unicode-variants" to vendor/javascript/@orchidjs/unicode-variants.js via download from https://ga.jspm.io/npm:@orchidjs/[email protected]/dist/esm/index.js
Note the /esm/ subdirectory it pulled from. This pulled the module version but I wanted the compiled version from the /js/ subdirectory on the CDN.
I haven't opened an issue yet but was this version (and other dependencies) incorrectly downloaded because of a change in the package.json file? My javascript-fu is not strong enough to know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using tom-select via importmaps in my Rails app. I was on v2.3.1 but after running
importmap pin tom-select
to get v2.4.1 it appears to have downloaded the wrong version from the cdn.I got the following output
Note the
/esm/
subdirectory it pulled from. This pulled the module version but I wanted the compiled version from the/js/
subdirectory on the CDN.I haven't opened an issue yet but was this version (and other dependencies) incorrectly downloaded because of a change in the
package.json
file? My javascript-fu is not strong enough to know.Thoughts?
(e)
Beta Was this translation helpful? Give feedback.
All reactions