-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Plugins Not Running during less-loader #188
Comments
So I now know why the Not sure how to resolve my issue now. Will have a think and update. Update 2: So not a bug but could be better documented in the less-loader readme and the less-rewriteimport plugin. I will submit a PR once my head finishes exploding. Please close as this is not a bug. |
Thanks for you idea! @MarkPerryBV I just followed your idea and fixed this in my tutorial, and have updated the demo project as well, should work like a charm now! |
I ran into the same issue as @MarkPerryBV when using less-plugin-npm-import. I ended up setting One way Another way would be to just expose another option like |
@michael-ciniawsky just to be sure - this is closed because it's not considered an issue, it's an obsolete issue or there's known workaround. It seem to me that this is actually a big deal - any less plugin which relieis on FileManager is not working and it's extremely difficult to figure out what's going on. |
So with |
@sdb1228 We have tests for plugins from |
Hmmmm @evilebottnawi Maybe then you can tell me what I am doing wrong? In Less 5 things worked perfectly with less loader config like so
However if I bump to Less 6 and update my config like so
I get the error message above |
@sdb1228 Can you open a new issue with minimum reproducible test repo? Looks like a regression |
Hey @evilebottnawi sorry for just getting to this. Looks like you guys got a fix already for it do you still want a sample repo? If so I forked one from above https://github.com/sdb1228/less-loader-plugin-bug but can totally make another issue if you want. |
@sdb1228 If you still have a problem feel free to open a new issue 😄 Otherwise we don't need a repo 😄 |
Awesome! Thanks @evilebottnawi for the quick response :) |
Hey @evilebottnawi! sorry to do this to you again but I seem to be experiencing this problem again in less 7. |
@sdb1228 please open a new issue with reproducible test repo, we have tests on this |
I am trying to use the re-write import plugin to solve some issues with the semantic-ui less files and themes.
See here:
http://neekey.net/2016/12/09/integrate-react-webpack-with-semantic-ui-and-theming/
https://www.artembutusov.com/webpack-semantic-ui/
My webpack build fails with the following message: `Can't resolve '../../theme.config'
In the repo below I am trying to replace the
other.less
import with one tofoo.less
. As you will see thefoo.less
file is not imported correctly.Minimal Example Repo:
https://github.com/MarkJPerry/less-loader-plugin-bug
Any assistance greatly appreciated.
The text was updated successfully, but these errors were encountered: