// Build styles.
var prefix = "";
builder.use(rewriteUrls(prefix));
builder.use(concat('styles'));
// Build fonts.
builder.use(copy('fonts', "./build/"));
I'm trying to rewriteUrls font urls so that they match what is copied over by copy. In 0.10.x, both the rewriteUrl and the copied directory names are normalized. In 0.12.x, files are copyed such that the top level directories are set as conf.name rather than normalized, while rewriteUrls still rewrites urls such that they are normalized.
Is this by design (I don't see why), or something that needs to be fixed?
edit: What I mean is that with rewriteUrls, I get /aaronz8-font-awesome/fonts/fontawesome-webfont.svg whereas copy will put it in /Font-Awesome/fonts/fontawesome-webfont.svg
I'm trying to
rewriteUrlsfont urls so that they match what is copied over bycopy. In 0.10.x, both the rewriteUrl and the copied directory names are normalized. In 0.12.x, files arecopyed such that the top level directories are set asconf.namerather than normalized, whilerewriteUrlsstill rewrites urls such that they are normalized.Is this by design (I don't see why), or something that needs to be fixed?
edit: What I mean is that with
rewriteUrls, I get/aaronz8-font-awesome/fonts/fontawesome-webfont.svgwhereascopywill put it in/Font-Awesome/fonts/fontawesome-webfont.svg