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

Revise stackgl bundle and add test against undesirable direct changes to stackgl_modules/index.js #6937

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Mar 20, 2024

This update was important so that switching to esbuild in near future does not break the stackgl bundling task.
Also a test is added which would be helpful for reviewers and developers when working on changes of stackgl modules e.g. to address #3613.

cc: @plotly/plotly_js

/******/ var __webpack_modules__ = ({

/***/ 7386:
/***/ 1964:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please note these index changes are coming from #6665 since between v2.24.2 and v2.24.3.
And there was no need to rebuild the stackgl index since 2.19.0 when is-mobile is updated in #6517.

@@ -1,43 +1,33 @@
(function webpackUniversalModuleDefinition(root, factory) {
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 umd header is not required.
It is now simplified to a commonjs module.

"ify-loader": "1.1.0",
"node-polyfill-webpack-plugin": "3.0.0",
"webpack": "5.90.3",
"webpack-cli": "5.1.4"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I also pinned down these version to avoid potential changes to the bundle.

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