-
Notifications
You must be signed in to change notification settings - Fork 11
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
Using custom transformers #15
Comments
Sorry, I should probably add this to the bundle transformer account instead of this one. Im closing this out. My apologies. |
Hello, Ashwin! I recommend you to use the custom item transformation (implements |
On CodePlex not working notifications.
On Stack Overflow in comments described solution for this problem:
Also I recommend you to read the “Running Autoprefixer with BundleTransformer / LESS in Debug mode” discussion. |
Firstly, this library has been really useful so thanks for all the work. I have an issue that Im trying to work through. Here is the scenario,
Packages installed:
LibSassHost 1.0.0
LibSassHost.Native.win-x86 1.0.0
Im trying to dynamically add sass variables at runtime to the response content in a custom transformer, like so,
In testTransformer, Im trying to add to response.content with some variables that override other variables.
When I ran this, the transforms run correctly and the content is updated, but the bundletransformer library reads the file instead of the response content and completely ignores all other transforms.
It would be nice if it can read the response content instead of the file because the response content already has the contents from all the files in the bundle. MVC already gives us this. You could avoid an unnecessary file read and make the solution more extendible.
Is it possible to maybe add a configurable option to use content instead of reading the file again?
The text was updated successfully, but these errors were encountered: