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

build vite 2 app failed [rollup-plugin-dynamic-import-variables] Unexpected token #1523

Closed
boussadjra opened this issue Jan 13, 2021 · 1 comment · Fixed by vuejs/core#3005

Comments

@boussadjra
Copy link

Describe the bug

I'm building a template using vite 2 + typescript (tsx), in development mode works fine but when I run build it fails with following error :

image

Reproduction

https://github.com/boussadjra/vite-wind

System Info

  • vite version:^2.0.0-beta.12
  • Operating System:windows 10 pro
  • Node version: v12.16.3
  • Package manager npm 6.14.9
@underfin
Copy link
Member

underfin commented Jan 14, 2021

Close it because it is a bug at vue core.Please track here vuejs/core#3005

You can remove srcset="" as a workaround.

LinusBorg pushed a commit to vuejs/core that referenced this issue Feb 3, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants