-
Notifications
You must be signed in to change notification settings - Fork 81
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
Not able to use p5.js-svg in Webpack #213
Labels
Comments
zenozeng
added a commit
that referenced
this issue
Mar 1, 2022
@epleaner Hi, I can not reproduce this issue, can you try the examples/webpack here: https://github.com/zenozeng/p5.js-svg/tree/main/examples/webpack npm install
npm run build |
|
@epleaner Hi, this should be fixed in [email protected], I also updated the example. You can try it when you have time. Feel free to reopen this issue if the problem still exists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm following the example shown in the repo here, which seems simple enough. I was already using p5 as a webpack module, so thought it would be straight-forward to drop in the p5.js-svg module as well.
I'm getting this, though:
ERROR in ./node_modules/p5.js-svg/src/p5.RendererSVG.js 1:0-56 Module not found: Error: Can't resolve 'svgcanvas' in '.node_modules/p5.js-svg/src' resolve 'svgcanvas' in '.node_modules/p5.js-svg/src'
The text was updated successfully, but these errors were encountered: