Skip to content
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

Conflict with file loading Less plugins? #64

Closed
fortes opened this issue Nov 9, 2015 · 1 comment
Closed

Conflict with file loading Less plugins? #64

fortes opened this issue Nov 9, 2015 · 1 comment

Comments

@fortes
Copy link

fortes commented Nov 9, 2015

I'm trying to use less-loader along with less-plugin-load-json, however it looks like the less-loader override of fileLoader prevents the plugin from running (since it accepts and reads all files). Is there a way around this?

@cap-Bernardito
Copy link
Member

I think you need to use less PreProcessor like here,
https://www.npmjs.com/package/less-plugin-js-vars

or loader like here
https://github.com/tompascall/js-to-styles-var-loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants