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

when outfile format cjs,import the same css file will import a no exists js file #2575

Closed
2 of 3 tasks
Veiintc opened this issue Mar 18, 2021 · 0 comments · Fixed by #2621
Closed
2 of 3 tasks

when outfile format cjs,import the same css file will import a no exists js file #2575

Veiintc opened this issue Mar 18, 2021 · 0 comments · Fixed by #2621

Comments

@Veiintc
Copy link

Veiintc commented Mar 18, 2021

⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.

Describe the bug

image

when outfile format cjs,import the same css file will require a no exists js file

Reproduction

(https://github.com/Veiintc/test-css-codesplit)
npm run build

System Info

  • vite version:2.1.1
  • Operating System:Window 10
  • Node version:14.6.0
  • Package manager (npm/yarn/pnpm) and version:6.14.6

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
patak-dev pushed a commit that referenced this issue Apr 4, 2021
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
ygj6 pushed a commit to ygj6/vite that referenced this issue Apr 9, 2021
…itejs#2621)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
@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.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants