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
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I was confused as to why my code kept getting wiped from app.js, then I realised there was a grunt task that was overwriting it.
There's currently no obvious place to put original script - bower_components/ surely isn't the right place for it. Would it make sense to update the Gruntfile to point to something like 'js/custom.js', even if only in the 'concat' phase?
The text was updated successfully, but these errors were encountered:
Good input! Of course you are absolutely right, it is not clear in the documentation how to do this. I've added a custom js folder where you can put all your stuff. Everything you put in this folder will be minified and concatinated to app.js. See this commit for details: 363c9f3. Docs are updated as well: b86e79c
I was confused as to why my code kept getting wiped from app.js, then I realised there was a grunt task that was overwriting it.
There's currently no obvious place to put original script - bower_components/ surely isn't the right place for it. Would it make sense to update the Gruntfile to point to something like 'js/custom.js', even if only in the 'concat' phase?
The text was updated successfully, but these errors were encountered: