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

Index.js isn't compiled in ES5, creating issues when building with npm #2

Open
NicolaiF opened this issue Jan 22, 2018 · 1 comment

Comments

@NicolaiF
Copy link

This framework made my life alot easier, but I came across a problem trying to build my project. It says it can't minify the package https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify. This is easily fixed by replacing the code in index.js with a compiled version (by using https://babeljs.io/repl/).

Don't know if dymojs is still active, but should be a quick fix by its author. In the mean time, just replace the code with a compiled version in your node_modules folder.

@apenab
Copy link

apenab commented Apr 14, 2021

If you use reatc, I recommend use the react-dymo-hooks package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants