Skip to content

Conversation

jamietre
Copy link
Contributor

@jamietre jamietre commented Jan 4, 2018

This option allows appending a prefix to the paths generated by css-visor for the assets its creates.

In our build configuration, the paths used at runtime to load assets may be different from the root paths within the source tree. For example, styles are always loaded from within a /styles/ route, which won't work by default with css-visor which always emits routes relative to the site source root folder name. This change allows aligning the output from css-visor to an arbitrary route at runtime.

@zikaari zikaari merged commit 2ef1640 into zikaari:master Jan 4, 2018
@zikaari
Copy link
Owner

zikaari commented Jan 4, 2018

Thanks!

Also do you (or your team) use any CLI tools like angular-cli or create-react-app which have no or pathetic support for CSS sourcemaps, or you guys use your own setup from scratch?

(The reason I'm asking this is because I'm trying hard to push this plugin to those CLI tools, for better sourcemap support, example facebook/create-react-app#3202 with support for others coming soon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants