Skip to content

Webpack loader for SASS/LESS/CSS files which replaces protocol-relative URLs with https when used in the url() functional notation (Example: background-image: url('//hostname.com/photo.jpg') => background-image: url('https://hostname.com/photo.jpg'))

License

Notifications You must be signed in to change notification settings

john-bai/protocol-relative-replace-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

protocol-relative-replace-loader

Webpack loader which replaces protocol-relative URLs with https (//hostname.com/photo.jpg => https://hostname.com/photo.jpg)

About

Webpack loader for SASS/LESS/CSS files which replaces protocol-relative URLs with https when used in the url() functional notation (Example: background-image: url('//hostname.com/photo.jpg') => background-image: url('https://hostname.com/photo.jpg'))

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published