dashboard.min.js to be dynamically generated by gulp from src/dashboard/assets/js/dashboard.js
What is actually happening?
Both files are just statically copied, and the existing minified file contains different code than the unminified file, mostly regarding the main nav dropdown, and some tweaks to the map script.
Solution
Use gulp-minify to dynamically generate dist/dashboard/assets/js/dashboard.min.js from src/dashboard/assets/js/dashboard.js
Additional comments
There are a number of other unminified js files included in dist/dashboard/assets/js/ ... those should be included in gulp build:dev and the minified ones in gulp build:dist
I'll take a look into this to better manage the modification of the JS files. I've added this to the list of things to be done for version 1.2. Thanks.
Version
1.1.0
Reproduction link
https://demos.creative-tim.com/impact-design-system-pro/docs/assets-db/js/dashboard.min.js
Operating System
n/a
Device
n/a
Browser & Version
n/a
Steps to reproduce
What is expected?
dashboard.min.js to be dynamically generated by gulp from src/dashboard/assets/js/dashboard.js
What is actually happening?
Both files are just statically copied, and the existing minified file contains different code than the unminified file, mostly regarding the main nav dropdown, and some tweaks to the map script.
Solution
Use gulp-minify to dynamically generate dist/dashboard/assets/js/dashboard.min.js from src/dashboard/assets/js/dashboard.js
Additional comments
There are a number of other unminified js files included in dist/dashboard/assets/js/ ... those should be included in gulp build:dev and the minified ones in gulp build:dist