I have about 5 widgets that all used a helper.js file I created.
Is there any way I can ensure this file is copied over when an app is created?
I stored the helper.js file in the widgets root directory.
Well i found one way but I would prefer a different way....
In the "stemapp" there is a "libs" folder. I made my own folder (myHelpers) in here and pasted the .js files i needed to be included.
I can reference these libs using AMD now..
- I would prefer it not be be in the stemapp but this way works for now.
I also had to modify the init.js file to include a reference to the package.
Around like 132 there is a dojoConfig.packages
Its something like so....
location: window.path + "myHelpers"
Retrieving data ...