Title: [CHORE]: Remove Babel from `stackgl_modules` build process · Issue #7862 · plotly/plotly.js · GitHub
Open Graph Title: [CHORE]: Remove Babel from `stackgl_modules` build process · Issue #7862 · plotly/plotly.js
X Title: [CHORE]: Remove Babel from `stackgl_modules` build process · Issue #7862 · plotly/plotly.js
Description: Description Remove Babel-related dependencies from the stackgl_modules build process. Notes stackgl_modules is a pre-bundled vendor folder The stackgl_modules build process has used Babel to transpile the included dependencies to ES5 syn...
Open Graph Description: Description Remove Babel-related dependencies from the stackgl_modules build process. Notes stackgl_modules is a pre-bundled vendor folder The stackgl_modules build process has used Babel to transp...
X Description: Description Remove Babel-related dependencies from the stackgl_modules build process. Notes stackgl_modules is a pre-bundled vendor folder The stackgl_modules build process has used Babel to transp...
Opengraph URL: https://github.com/plotly/plotly.js/issues/7862
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[CHORE]: Remove Babel from `stackgl_modules` build process","articleBody":"### Description\n\nRemove Babel-related dependencies from the `stackgl_modules` build process.\n\n### Notes\n\n- `stackgl_modules` is a pre-bundled vendor folder \n- The `stackgl_modules` build process has used Babel to transpile the included dependencies to ES5 syntax\n- plotly.js uses esbuild for bundling and that can handle the transpiling\n- This was discovered in a recent dependabot PR (#7846)\n\n### Scope\n\nIn `stackgl_modules/webpack.config.js`:\n\n- Remove both `babel-loader` rules (the project-files rule is effectively a no-op without a babel config; the `buffer`/`is-mobile` rule is redundant with esbuild)\n- Remove `target: ['web', 'es5']`\n\nIn `stackgl_modules/package.json`, drop the now-unused devDeps:\n\n- `@babel/core`\n- `@babel/preset-env`\n- `@babel/plugin-transform-modules-commonjs`\n- `babel-loader`\n\n`ify-loader` (glslify) and `raw-loader` must stay — they handle the GLSL shader preprocessing that's the actual reason this pre-bundle exists.\n\n### Testing\n\n- After removing the babel rules, run `npm run bundle-stackgl`\n- Rebuild plotly.js and smoke-test 3D traces (scatter3d / mesh3d / surface) to confirm things still run/look the same\n","author":{"url":"https://github.com/camdecoster","@type":"Person","name":"camdecoster"},"datePublished":"2026-06-24T19:14:41Z","url":"https://github.com/plotly/plotly.js/issues/7862"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff09a196-010d-1e4b-4d00-3fb278924682 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A030:317608:4C990B:628BA3:6B00D7DC |
| html-safe-nonce | b98a8880cb8de487cf222fd3d43692d8a9e157ad21f5e092b66b1e29f2fd525b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDMwOjMxNzYwODo0Qzk5MEI6NjI4QkEzOjZCMDBEN0RDIiwidmlzaXRvcl9pZCI6IjQyNTI0ODc1Mjg2MTcxMzgxNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 68fae43c742b08f662cf751658f827faaeb8915c550428b6126a808ca3f14f75 |
| hovercard-subject-tag | issue:4737695055 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/7862/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62f5cf10c7f35b87f7e8b2793c0619432d6b8e92a537fcdbb0c4330c3d4f0d8b/plotly/plotly.js/issues/7862 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62f5cf10c7f35b87f7e8b2793c0619432d6b8e92a537fcdbb0c4330c3d4f0d8b/plotly/plotly.js/issues/7862 |
| og:image:alt | Description Remove Babel-related dependencies from the stackgl_modules build process. Notes stackgl_modules is a pre-bundled vendor folder The stackgl_modules build process has used Babel to transp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | camdecoster |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width