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(package.json): downgrade htmlparser2 for Webpack 4 compatibility #49

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

thompsonsj
Copy link
Owner

Fixes #44.

Downgrading htmlparser2 to version 7 increases compatibility with Webpack 4. htmlparser2 version 8 uses syntax added in Webpack 5. This issue is well explained in fb55/htmlparser2#1237 (comment).

Tests pass with this downgrade, so I see no reason not to do it. Can revisit at a later stage.

References

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.

htmlparser2 dependency unexpected token error
1 participant