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

Errors of a postcss config are swallowed #140

Closed
sventschui opened this issue May 14, 2020 · 1 comment
Closed

Errors of a postcss config are swallowed #140

sventschui opened this issue May 14, 2020 · 1 comment

Comments

@sventschui
Copy link
Contributor

Describe the bug

When an error occurs while loading the postcss config it is swallowed:

https://github.com/vuejs/vite/blob/79a55b5d5fe11316b99d09d1ce0e357fa3335ac4/src/node/utils/resolvePostCssConfig.ts#L16

I'd be happy to file a PR, that will fail the build in production mode and return a 500 for the css in dev mode. Any concerns?

Reproduction

n/a

System Info

  • required vite version: 0.14.1
  • required Operating System: OS X
  • required Node version: 12

Logs (Optional if provided reproduction)

none

@sventschui sventschui added the bug label May 14, 2020
@underfin
Copy link
Member

Can you provider repo for this?

@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

No branches or pull requests

2 participants