-
Notifications
You must be signed in to change notification settings - Fork 84
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prefix ignored when running #88
Comments
Admittedly, the prefix mechanics are bit tricky to get the middleware setup right. See this conversation #49 (comment) which points to an example project. I hope that will help. |
Merged
am11
added a commit
that referenced
this issue
Jan 15, 2017
* If the requested file is not .css, log and skip (new: log, we were already skipping here) * If the requested file does not starts with provided prefix, log and prefix (new) * Provide reason for compile logs (new) * Add more logger tests Fixes #88
am11
added a commit
that referenced
this issue
Jan 15, 2017
* If the requested file is not .css, log and skip (new: log, we were already skipping here) * If the requested file does not starts with provided prefix, log and prefix (new) * Provide reason for compile logs (new) * Add more logger tests Fixes #88
am11
added a commit
that referenced
this issue
Jan 15, 2017
* If the requested file is not .css, log and skip (new: log, we were already skipping here) * If the requested file does not starts with provided prefix, log and prefix (new) * Provide reason for compile logs (new) * Add more logger tests Fixes #88
am11
added a commit
that referenced
this issue
Jan 16, 2017
Skip early and log when prefix mismatches
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have two calls for css files in my index.html, one uses the prefix the other does not. Both css files are picked up by sass-middleware instead of just the one with the prefix.
My config looks like this:
I have links in my html that look like:
I am aware that I can just put the express.static method for outdated browser above the sass middleware and it won't get picked up by the middleware but the middleware shouldn't be picking it up anyway.
The text was updated successfully, but these errors were encountered: