Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.

Fix build by checking in dist/ #1

Merged
merged 2 commits into from
Jan 18, 2017
Merged

Fix build by checking in dist/ #1

merged 2 commits into from
Jan 18, 2017

Conversation

leafi
Copy link

@leafi leafi commented Jan 18, 2017

As per clauderic#48 (comment) , the only easy way to solve build issues (the fact that dist/ doesn't exist, b/c devDependencies aren't installed by npm when it pulls this package elsewhere, so the pkg cannot be built & is empty mostly) is to just always check in to git a complete copy of dist/.

We're not planning to change react-infinite-calendar that much. I think this is an acceptable compromise.

Ugly? Yes, but I wrote in 6 foot tall letters over the README so you can't forget.


Additionally, Babel's got some quirky weirdness going on atm that was making my local builds fail (cannot find caniuse-db et al.)

Someone figured out the issue: Fyrd/caniuse#3073 (comment)

Someone else's fix: https://github.com/acolchado/spur-ioc/commit/7c5be0c88ea2efb52a6f670b931469ea9f49263d

Reproduced here. Basically fixing babel-plugin-transform-regenerator to exactly version 6.16.1, until the Babel community manages to work out what the hell happened (ETA: weeks).

leafi added 2 commits January 18, 2017 16:40
Checking in the build is an antipattern. It is also the easiest way to
work around the deficiencies in the react-infinite-calendar build
process.
@leafi leafi merged commit bc28477 into master Jan 18, 2017
@leafi leafi deleted the fixbuild branch February 9, 2017 20:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant