I have a javascript file that I use with a Worker in my Ember app. Thus, I want the javascript file in my dist
directory, but I do not want to run it in the web app itself- in short, I want to be able to treat the script like any non-javascript asset using app.import()
.
Is there a good way to do this? I can't seem to find a proper way to do it in the ember-cli documentation.
Aucun commentaire:
Enregistrer un commentaire