Skip to content

Conversation

jeneser
Copy link
Contributor

@jeneser jeneser commented Dec 8, 2020

closes #5947

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@jeneser jeneser marked this pull request as draft December 8, 2020 16:57
@@ -234,9 +234,7 @@ module.exports = (api, rootOptions) => {
))
}
createCSSRule('less', /\.less$/, 'less-loader', loaderOptions.less)
createCSSRule('stylus', /\.styl(us)?$/, 'stylus-loader', Object.assign({
preferPathResolver: 'webpack'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

stylus-loader v4, preferPathResolver option has been removed. stylus options were moved to stylusOptions.

@jeneser jeneser marked this pull request as ready for review December 9, 2020 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValidationError: Invalid options object. Stylus Loader has been initialized using an options object that does not match the API schema.
2 participants