I have a case where i need to output a JS file into my /dist/ without it being included in my vendor.js. It seems ember-cli tries its very best to snatch up anything js related and stick it in there. Can this be done?
In my particular application i have a google map and then i have several bower google map plugins. Due to license / account hit limit restrictions i need to load the google map only when a map is to be displayed. Unfortunately the google map plugins are stupid and execute as soon as they are loaded. When they are included in the vendor.js file this causes instant exceptions when the page loads as google maps itself isn’t loaded yet.
So far i’ve tried specifying an desDir in ember-cli-build.js and placing the file in the vendor folder but both times ember-cli just throws it into the vendor.js file.
edit: It looks like i can place the raw file in the /public/ directory but then that breaks the bower_components/… structure.