aligent / mage2themebuilder

0 stars 0 forks source link

Fix/bug with sourcemaps #4

Closed luke-denton-aligent closed 8 years ago

luke-denton-aligent commented 8 years ago

@phirunson Found a bug when running gulp without the --dev flag in that only the first 16 files in the source directory would be built into the web directory. When the --dev flag was enabled, then all files would be built across. I managed to track this down to being an issue with sourcemaps, so instead of using the passthrough to 'skip' the sourcemaps when running in production, the gulp-if plugin is used instead, allowing in-line conditional checks for running tasks.

I have also included a new plugin, gulp-debug, which is enabled by adding the parameter --debug when running gulp, which will give more information about which files are being included in each task.

MrTurner commented 8 years ago

+1