Closed llamadeus closed 3 years ago
I can see that javascriptEnabled
is being set to true but it still does not work because the option should not be set to true within the lessOptions
object but directly within the options
object.
this is less-loader BREAKING CHANGES.
https://github.com/webpack-contrib/less-loader/blob/master/CHANGELOG.md#600-2020-04-24
https://github.com/webpack-contrib/less-loader#lessoptions
if your still not work, pls update less-loader version to v6.0.0+.
Thanks! I found the root of the problem. Having your plugin installed along with @zeit/next-less
caused two versions of less-loader
being installed: 4.x and 6.x. Uninstalling @zeit/next-less
solved the issue for me.
Also, thanks for this plugin! I really appreciate it.
Thanks! I found the root of the problem. Having your plugin installed along with
@zeit/next-less
caused two versions ofless-loader
being installed: 4.x and 6.x. Uninstalling@zeit/next-less
solved the issue for me.Also, thanks for this plugin! I really appreciate it.
@llamadeus removing @zeit/next-less solved this issue for me. Thanks!
I'm getting the following error when using your package.
I have found out that
javascriptEnabled
is being set to true in the following snippet but the option is erroneously nested within thelessOptions
object.Instead the options should be set to true like this: