systemjs / plugin-css

CSS loader plugin
MIT License
92 stars 60 forks source link

Force rewrite paths #134

Closed pocesar closed 6 years ago

pocesar commented 7 years ago

I'm using open-sans module, and to load it, I have to upload the jspm_packages/FontFaceKit/open-sans to the server, and I really only wanted to use styles/fonts folder. the problem is that the css inside is set as ./fonts/ and I found no way to rewrite the path inside. rootURL and baseURL doesn't seem to change them. I know I could use the .scss file to add the file to my main css, but that's not without friction

pocesar commented 6 years ago

I created a gulp task to manually edit the contents of the generated file