Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UMD builds #161

Merged
merged 2 commits into from
Jul 18, 2019
Merged

Update UMD builds #161

merged 2 commits into from
Jul 18, 2019

Conversation

markerikson
Copy link
Collaborator

Restructures the UMD build process to finally give us working dev and minified UMD builds, while still keeping the import of redux-immutable-state-invariant conditional in bundler builds .

- Added replace of "process" usage in dev build to fix crashes
- Added minified production UMD build
- Restructured conditional import of immutable middleware so that
  each build works correctly:
  - CJS/ESM: use conditional require in dev/prod, with shaking
  - UMD Dev: use import statement to pull in middleware
  - UMD Prod: drop middleware completely
@netlify
Copy link

netlify bot commented Jul 18, 2019

Deploy preview for redux-starter-kit-docs ready!

Built with commit d2fe46b

https://deploy-preview-161--redux-starter-kit-docs.netlify.com

@markerikson markerikson merged commit 3fc5edd into master Jul 18, 2019
@markerikson markerikson deleted the update-umd-builds branch October 13, 2019 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant