Skip to content
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

Remove "hmr" option from Webpack docs #846

Merged
merged 1 commit into from Sep 27, 2021
Merged

Conversation

Daniel15
Copy link
Contributor

After upgrading Webpack, I was getting this error:

ValidationError: Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'hmr'. These properties are valid:
   object { publicPath?, emit?, esModule?, layer? }

Seems like this option isn't supported any more.

Motivation

Summary

Test plan

After upgrading Webpack, I was getting this error:

```
ValidationError: Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'hmr'. These properties are valid:
   object { publicPath?, emit?, esModule?, layer? }
```

Seems like this option isn't supported any more.
@callstack-bot
Copy link

Hey @Daniel15, thank you for your pull request 🤗.
The coverage report for this branch can be viewed here.

@Anber Anber merged commit 383886e into callstack:master Sep 27, 2021
@Anber
Copy link
Collaborator

Anber commented Sep 27, 2021

Thank you @Daniel15!

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.

None yet

3 participants