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

import JXG from 'jsxgraph' is breaking the Vue/vite bundling process #502

Open
rwmorton opened this issue Jan 10, 2023 · 4 comments
Open

Comments

@rwmorton
Copy link

Hi there,

It seems that this line:

import JXG from 'jsxgraph'

is breaking my build with vite.

Here is the error emitted during the build:

image

If I remove the import line it builds fine but of course the graph doesn't load.

@rwmorton rwmorton changed the title import JXG from 'jsxgraph' is breaking the Vute/vite bundling process import JXG from 'jsxgraph' is breaking the Vue/vite bundling process Jan 10, 2023
@alfredwassermann
Copy link
Member

Thank you very much for your helpful feedback.
Can you please test the latest version? Either the main branch from github or release candidate 1.5.0-rc2 from npm:

npm install --save jsxgraph@next

Today - hopefully - all dependencies could be removed.

@geometryzen
Copy link
Contributor

@rwmorton I had a similar issue in rc1 and it was fixed in rc2.
@alfredwassermann FYI, rc2 fixed this issue for me.

@rwmorton
Copy link
Author

Thank you for the feedback, I'm currently on a different project but will definitely try updating to see if this fixes the issue. Will report back if not!

@rwmorton
Copy link
Author

Thanks guys, looks like upgrading to RC2 fixed it!

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

3 participants