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

Fix TypeError in CleanWebpackPlugin instantiation #185

Merged
merged 1 commit into from Jun 7, 2019

Conversation

@deveth0
Copy link
Contributor

deveth0 commented Jun 6, 2019

Fix "TypeError: CleanWebpackPlugin is not a constructor" for clean-webpack-plugin >= 3.0.0

When using npm run preview with the latest version, an error is thrown as the CleanWebpackPlugin has changed in v. 3.0.0.

This change fixes the import.

Fix "TypeError: CleanWebpackPlugin is not a constructor" for clean-webpack-plugin >= 3.0.0
@erquhart

This comment has been minimized.

Copy link
Contributor

erquhart commented Jun 7, 2019

Sweet, thanks!

@erquhart erquhart merged commit 55b82b1 into netlify-templates:master Jun 7, 2019
6 checks passed
6 checks passed
Header rules - victor-hugo-template No header rules processed
Details
Pages changed - victor-hugo-template 3 new files uploaded
Details
Redirect rules - victor-hugo-template No redirect rules processed
Details
Mixed content - victor-hugo-template No mixed content detected
Details
deploy/netlify Deploy preview ready!
Details
netlify/victor-hugo-template/deploy-preview Deploy preview ready!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.