-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Conversation
/******/ var __webpack_modules__ = ({ | ||
|
||
/***/ 7386: | ||
/***/ 1964: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,43 +1,33 @@ | |||
(function webpackUniversalModuleDefinition(root, factory) { |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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.
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