I want to run yarn build now and temporarily commit lib and dist folders so that I can use my forked branch in my application. However, yarn build does not work.
First, I've had to install cross-env and change build:umd to "cross-env BABEL_ENV=esm yarn rollup -c", because BABEL_ENV does not exist.
Next, I get error (plugin size-snapshot) Error: ModuleNotFoundError: Module not found: Error: Can't resolve './BackgroundWrapper.js' in '/'. I have not been able to resolve this.
Do you want to request a feature or report a bug?
bug
What's the current behavior?
I've forked your repository, checked out the master branch and applied some changes so that I can test the fix proposed at https://github.com/jquense/react-big-calendar/pull/1066
I want to run
yarn build
now and temporarily commitlib
anddist
folders so that I can use my forked branch in my application. However,yarn build
does not work.First, I've had to install
cross-env
and changebuild:umd
to"cross-env BABEL_ENV=esm yarn rollup -c"
, becauseBABEL_ENV
does not exist.Next, I get error
(plugin size-snapshot) Error: ModuleNotFoundError: Module not found: Error: Can't resolve './BackgroundWrapper.js' in '/'
. I have not been able to resolve this.What's the expected behavior?
Master branch builds properly out of the box.