We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NODE_ENV
[Link to a minimal repro (fork this code sandbox): ](https://stackblitz.com/edit/vitejs-vite-q2tc8k?file=src%2Fmain.tsx,src%2FApp.tsx&terminal=dev)
Open the dev console, you will see this error message even for site built with production mode
[Blueprint] Could not load "en-US" date-fns locale, please check that this locale code is supported: https://github.com/date-fns/date-fns/tree/main/src/locale
No errors in console as it's built in production mode
Update from NODE_ENV to process.env.NODE_ENV to support non-webpack users
blueprint/packages/icons/src/loaderUtils.ts
Line 22 in 4d1297a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Code Sandbox
[Link to a minimal repro (fork this code sandbox): ](https://stackblitz.com/edit/vitejs-vite-q2tc8k?file=src%2Fmain.tsx,src%2FApp.tsx&terminal=dev)
Steps to reproduce
Open the dev console, you will see this error message even for site built with production mode
Actual behavior
[Blueprint] Could not load "en-US" date-fns locale, please check that this locale code is supported: https://github.com/date-fns/date-fns/tree/main/src/locale
Expected behavior
No errors in console as it's built in production mode
Possible solution
Update from NODE_ENV to process.env.NODE_ENV to support non-webpack users
blueprint/packages/icons/src/loaderUtils.ts
Line 22 in 4d1297a
The text was updated successfully, but these errors were encountered: