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

Webpack 5 Incompatibility #215

Open
programmersRuleTheWorld opened this issue Nov 1, 2022 · 1 comment
Open

Webpack 5 Incompatibility #215

programmersRuleTheWorld opened this issue Nov 1, 2022 · 1 comment

Comments

@programmersRuleTheWorld
Copy link

Due to no longer supporting core Node polyfills, Webpack >= 5 does not support this library; Babel JS also has issues parsing termkit.js due to the return outside of a function on line 36. I will see what I can do to remedy this issue for other Create React App users.

@cronvel
Copy link
Owner

cronvel commented Nov 2, 2022

Hi @programmersRuleTheWorld

Use termkit-no-lazy-require.js as the entry point.
As for Node polyfill, there is nothing I can do for this. This lib was written for Node.js, and it would be painfull to make it agnostic.

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

No branches or pull requests

2 participants