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'm trying to set up a project for compiling all the javascript in a shopify theme but I've run into a snag.
I have my main 'app.system.js' script that loads on page load, and additional system.js scripts that load along with any html based components in a svelte-like way.
But when it tries to load 'flipdown.system.js', it tries to load its dependency 'app.system.js', but it fetches a URL without the necessary v?= parameter, which causes it to load the first version that I uploaded to my store, which causes havoc.
So I get this happening:
Is there any way around this?
The text was updated successfully, but these errors were encountered:
I'm not familiar with the systemjs-module syntax, but I would assume that the 'dependencies' within your modules are referencing the undecorated name 'app.system.js' - are you using an import-map as well?
I'm trying to set up a project for compiling all the javascript in a shopify theme but I've run into a snag.
I have my main 'app.system.js' script that loads on page load, and additional system.js scripts that load along with any html based components in a svelte-like way.
In my head element:
And a component further down in the body looks like this:
But when it tries to load 'flipdown.system.js', it tries to load its dependency 'app.system.js', but it fetches a URL without the necessary v?= parameter, which causes it to load the first version that I uploaded to my store, which causes havoc.
So I get this happening:
Is there any way around this?
The text was updated successfully, but these errors were encountered: