Skip to content

Conversation

@jakwuh
Copy link
Contributor

@jakwuh jakwuh commented Jan 16, 2017

No tests were added since it will require webpack2. However we can't still move to webpack2 since it is currently in beta.
Tested against initial tests and also locally against support for less-loader webpack2 options param.

@goloveychuk
Copy link

hey, webpack2 released. Could you pls review this PR and merge if it's ok?

index.js Outdated
}

// Also support webpack 2 loader.options.
if (query.lessPlugins) {
Copy link
Member

@sokra sokra Jan 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you refactor the config stuff to use loaderUtils.getLoaderConfig(this, "lessLoader")? This function handles the config stuff and merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@jakwuh jakwuh force-pushed the master branch 2 times, most recently from 798e0e1 to 35264bb Compare January 20, 2017 13:47
@jhnns
Copy link
Member

jhnns commented Mar 7, 2017

Thank your for your PR 👍, but this has been superseded by webpack/loader-utils#56 and https://github.com/webpack-contrib/less-loader/pull/147/files

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants