updateURLs

  • function
steal-css.CSSModule.prototype.updateURLs  

Rewrites URLs within the stylesheet to be relative to the module.

css.updateURLs()

Rewrites the module's source and updates all @import and url() uses to be relative to the CSS module.

Returns

{String}

Returns the modified source (and also updates the css.source property.

Help us improve StealJS by taking our community survey