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
broccoli-sourcemap-concat defaults mapCommentType to 'line', which means // comments, which are invalid CSS. This library doesn't override that default at all. This library does pass sourceMapConfig down to the Strategy, but there's no way to configure mapCommentType on a per-file or per-file-type basis.
Possible solutions:
create two trees -- one for *.js with mapCommentType: 'line' and one for *.css with mapCommentType: 'block'. This doesn't work too well with Ember-CLI since that assumes a single sourcemaps configuration.
Have this library pass something like mapCommentType: (/\.css\b/.test(this.mapFile) ? 'block' : 'line')
broccoli-sourcemap-concatdefaultsmapCommentTypeto'line', which means//comments, which are invalid CSS. This library doesn't override that default at all. This library does passsourceMapConfigdown to theStrategy, but there's no way to configuremapCommentTypeon a per-file or per-file-type basis.Possible solutions:
*.jswithmapCommentType: 'line'and one for*.csswithmapCommentType: 'block'. This doesn't work too well with Ember-CLI since that assumes a singlesourcemapsconfiguration.mapCommentType: (/\.css\b/.test(this.mapFile) ? 'block' : 'line')See also #17 and ef4/broccoli-sourcemap-concat#37