-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
When UMD and CJS are output at the same time: ERROR: Expected "(" but found "." #13876
Comments
Start a new pull request in StackBlitz Codeflow. |
my project has the same problem, help~ |
anyone solved this issue ? I have same problem |
error during build: Expected ";" but found "."
|
Describe the bug
While I build Output error
Reproduction
https://stackblitz.com/edit/vitejs-vite-jnk7u3?file=src%2F_utils%2Findex.js,src%2Fbuild%2Fa.js,src%2Fbuild%2Fb.js,src%2Fbuild%2Findex.js,vite.config.js&terminal=dev
Steps to reproduce
npm run build
System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.20.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.6.3 - /usr/local/bin/pnpm npmPackages: vite: ^4.4.2 => 4.4.4
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: