-
-
Notifications
You must be signed in to change notification settings - Fork 194
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 still broken #181
Comments
Could you create a small test repository with webpack 2 and less-loader 4.x that demonstrates that the less plugin is not installed? |
Sure. Since the test files are so small, if it's all the same to you I'll just attach them here as a zip file. Extract to a directory of your choice, Should result in the 'Plugin.install is not a function' error. I've used what I believe to be the two most commonly used less plugins for the test case. |
Patching package.json entry (see 918bfe9) seems to resolve the problem. |
@illinar Oleg, I think you're referring to the 4.0.0 issue of the package.json referencing a non-existing entry point -- that was corrected in 4.0.1. This issue is in regard to Less plugins not being usable. |
@bazineta thx. |
clone-deep does not clone properties from the prototype chain, see #181 (comment)
Replace clone-deep with clone since clone-deep does not copy properties from the prototype chain. This can be a problem with plugin instances, see webpack-contrib/less-loader#181 (comment)
Should be fixed with |
LGTM. Thanks! |
it seems it's not compatible with style-loader and to-string-loader? Did I miss something? |
@sengfan please provide a small example repository. This makes tracking down the problem so much easier for me. |
@jhnns I have the same issue as @sengfan , here's my repo where it occurs: https://github.com/plone/plone-react/tree/semantic-ui |
I have an issue where the Plugins are not being run at all. I am using semantic-ui and need to re-write the import statements using |
I also stumbled upon this problem and found a workaround (but cannot find a good solution though). The problem comes from including plain css from the less-file with any plugin enabled. Replacing The reproducible small-repo is attached. |
See #161.
The text was updated successfully, but these errors were encountered: