script tag to include a
configuration.js file that contains all the required settings.
The settings differ in development and production and can be changed on the server. The
html file containing
script to the
configuration.js file would contain a cache busting querystring.
I have tried placing the
script into the
development.html but it doesn’t seem to quite work that way. It seems, rather, that steal is loading via the
app.js (main) and then the
index.stache. There are then failures as the
can-import bits in the
index.stache make use of the configuration entries that don’t yet exist.
I have tried
System.import but, of course, the application cannot
run before it is loaded; else I get the same errors.
Any suggestions around how I can get this sorted?