The create-react-app bundler does not ignore the conditional require('@woke/contracts') based on the NODE_ENV in src/lib/web3/web3-config.js.
➜ app git:(deploy) ✗ npm run build
> @woke/app@0.1.0 build /home/jack/Repositories/jgitgud/woke-dapp/@woke/app
> react-scripts build
Creating an optimized production build...
Failed to compile.
./src/lib/web3/web3-config.js
Cannot find module: '@woke/contracts'. Make sure this package is installed.
You can install this package by running: npm install @woke/contracts.
The create-react-app bundler does not ignore the conditional require('@woke/contracts') based on the NODE_ENV in
src/lib/web3/web3-config.js
.