-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Production Build: Failed to minify the code #1652
Closed
Comments
@frogg @dlrenz @RobZuazua @cocokiri We have published |
I'll do some kinds of post-mortem when I have time. |
😱 wow 💯 thanks 🚀 a 🎉 lot 👏 that 💪 was 👍 quick! 🙌 I just ran |
@frogg thanks for checking the new release and reporting back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using KaTeX in a react JS project.
On my computer running
yarn start
(react-scripts start
) for running the debug build works fine.But when I want to 'compile' it for the use in production I always get an error message from Katex:
npm run build
:yarn run v1.7.0 $ react-scripts build Creating an optimized production build... Failed to compile. Failed to minify the code from this file: ./node_modules/katex/dist/katex.mjs:5 Read more here: http://bit.ly/2tRViJ9 error Command failed with exit code 1.
This doesn't really make sense to me because obviously
katex.mjs
is already minified. Anyone has an idea how to fix this? Thanks!The text was updated successfully, but these errors were encountered: