This project is meant to demonstrate the issue here: jdalrymple/gitbeaker#66
Steps to reproduce this project:
- Create a project via create-react-app.
npx create-react-app test
- Install
node-gitlab-api
orgitlab
npm modulenpm install --save gitlab
- Import
gitlab
anywhere in the project - Now you can see that
npm start
works butnpm build
doesn't.npm build # Doesn't work npm start # Works
These aren't the exact steps I used. I actual had already globally installed create-react-app
via yarn and I performed steps 3 and 4 with yarn as well, but these steps will produce the same result.