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

Error finding certain files with optimizeDeps.include option #1695

Closed
nrayburn-tech opened this issue Jan 24, 2021 · 0 comments
Closed

Error finding certain files with optimizeDeps.include option #1695

nrayburn-tech opened this issue Jan 24, 2021 · 0 comments

Comments

@nrayburn-tech
Copy link

Describe the bug

During pre-bundling, errors are thrown that .less files cannot be found. This works in beta.37, but not beta.38 or beta.47.
npx vite build still works.
This doesn't happen for all files. It is specifically happening for antd/es/date-picker/style.
The antd github is here, if having the source is helpful.

Reproduction

https://github.com/nrayburn-tech/repro
Clone and run npx vite.

System Info

  • vite version: 2.0.0-beta.47
  • Operating System: macOS 11.1
  • Node version: 14.13.1
  • Package manager (npm/yarn/pnpm) and version: npm 6.14.10

Logs (Optional if provided reproduction)

error.log

@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

No branches or pull requests

1 participant