Closed vikuscz closed 3 years ago
Hi @vikuscz, Thanks for submitting this bug!
I just took a look the build config. I did a little experiment were I used Google's closure compiler to reduce bundle-size. The side-effect was however, that the dependencies 'react' and 'react-dom' got mangled. I've reverted this experiment and configured it to use plain 'ol terser minification. I just did a release (2.0.2), so I expect your production build should now build smoothly.
Please, let me know if this fixes this issue
Many thanks for your quick reaction. Yes, it works now with 2.0.2
:-)
Nice! 🙌🏻 If you run into other issues, I'd be happy to know ;)
Problem I am not able to make production build of my Next.js project after update to
react-laag@2.0.1
. Development build (using nodemon) works fine. It won't work both on my local Debian in WSL 1 (node 15.2.1) and dockerized production server (some stable node 14 on alpine linux) but previously it worked fine withreact-laag@1.8.0
. Any idea what I do wrong? Thanks :-)Environment: