sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

SourceMappingUrlProcessor (REGEX) does not apply to CSS source maps

Open hleb-rubanau opened this issue 2 years ago • 1 comments

Processor is great but it only supports JS convention at the moment.

When I generate compressed CSS with dart-sass, sourcemapping URL comment looks like following (

/*# sourceMappingURL=application.css.map */

Unfortunately, its not taken into account by current preprocessor, which expects JS syntax (//# sourceMappingURL) both in parsing and in generation

hleb-rubanau avatar Apr 09 '23 22:04 hleb-rubanau

Note https://github.com/rails/sprockets-rails/pull/498

ghost avatar May 23 '23 17:05 ghost