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

Vite production builds fail after v1.10.25 #1024

Closed
viljark opened this issue Dec 6, 2023 · 0 comments
Closed

Vite production builds fail after v1.10.25 #1024

viljark opened this issue Dec 6, 2023 · 0 comments

Comments

@viljark
Copy link

viljark commented Dec 6, 2023

Expected behavior

Vite production build succeeds.

Actual behavior

Vite production build fails with after we upgraded to v1.10.25, previous versions were OK.

[commonjs--resolver] Unexpected token
file: /Users/user/project/node_modules/@interactjs/pointer-events/index.js:26:8
24:   propagationStopped = false;
25:   immediatePropagationStopped = false;
26:   global;
            ^
27:   constructor(options) {
28:     this.options = (0, _extend.default)({}, options || {});
error during build:
RollupError: Unexpected token

System configuration

interact.js version: 1.10.25
Vite version: 4.5.0

@taye taye closed this as completed in 164ebe3 Dec 7, 2023
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

1 participant