Skip to content

Conversation

@djhi
Copy link
Contributor

@djhi djhi commented Jun 9, 2024

Related marmelab/react-admin#9908

This PR avoid including MSW in the bundle by configuring the build process

{
"name": "fakerest",
"version": "3.5.0",
"version": "4.0.0-beta.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lock file wasn't updated at release time

@@ -0,0 +1,42 @@
<html>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this file to test the UMD bundle

// for externalized deps
globals: {
lodash: '_',
msw: 'MockServiceWorker',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@djhi djhi changed the title Avoid including MSW in the bundle Avoid including MSW in the bundle - option 2 Jun 9, 2024
@djhi djhi closed this Jun 10, 2024
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.

2 participants