Category : babeljs

For some strange reason, while running the production build in a docker container, webpack incorrectly attempts to import named imports as default. But running the production build directly on my Mac does not throw any errors. More strangely is the fact that everything worked just fine a couple of weeks ago. Here’s a screenshot of ..

Read more

I have a simple React app created with create-react-app that runs fine on localhost. I’m now trying to Dockerify the app. Here’s my package.json: { "name": "yeet", "version": "0.1.0", "engines": { "node": "12.x" }, "scripts": { "client": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "start": "node server.js", "production": "npm run build ..

Read more