saltnpixels / ignition

The Starter Theme that Could
76 stars 13 forks source link

Source map not being output correctly #4

Closed ThatKDB closed 5 years ago

ThatKDB commented 5 years ago

CSS sourcemaps aren't being output correctly. Chrome only reports main.css from the css sourcemap (ommiting all the .scss files) and no JS sourcemap. I'm not sure if this is a Ignition-specific issue or something to do with WP-Gulp.

saltnpixels commented 5 years ago

I think its a mixture of both. WP Gulp has the gulp sourcemaps set to not include the content, but then it does not state where the source files are. Perhaps WP Gulp assumes your source files are in the root. Ignition has them in assets/sass. I fixed this and it should work now. Thanks for pointing it out!

ThatKDB commented 5 years ago

Awesome! I'm glad it was a quick fix!