Feat/umdbundle - supports umd-bundle with corresponding rollup.config and npm-script #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For possible umd usage, we need a umd bundle:
Live demo, check it out --->
https://coldemo.github.io/#/playground/crank-async-generator.jsx
https://coldemo.github.io/#/playground/crank-todomvc.jsx
(I've published a temp npm-pkg named 'crank-umd' to get it work)
(It can be removed at some time if crank gets umd supported itself)
(codesandbox can be broken due to some network issues in some area somehow)
(for example, I personally never had luck to open any of them in the docs)
Similar merged PR: realDuang/genjijs#6
PS: I tried to patch the existing rollup.config but failed with
so I've added a new file: rollup.config.umd