We should move JS assets to resourses/assets/js and build js in one single file in public/js instead.
I'm investigating on how possible is to use the existing gulpfile.js and pachage.json. It might worth investigating using bower.
We will start with merging and we will minify later, as I prefer to minify in production environment only (I usually do 2 a vendor.js and a app.js for caching purposes)
Acceptance Criteria
[x] Investigate if we can use the existing gulpfile.js and package.json for managing front end task running.
[x] Move assets from public/js to resources/assets/js
[x] Build JS into public in a single main.js file
[x] load js.sourcemaps for debugging (deal breaker)
We should move JS assets to resourses/assets/js and build js in one single file in public/js instead.
I'm investigating on how possible is to use the existing gulpfile.js and pachage.json. It might worth investigating using bower.
We will start with merging and we will minify later, as I prefer to minify in production environment only (I usually do 2 a vendor.js and a app.js for caching purposes)
Acceptance Criteria