Skip to content

[CHORE]: Remove Babel from stackgl_modules build process #7862

Description

@camdecoster

Description

Remove Babel-related dependencies from the stackgl_modules build process.

Notes

Scope

In stackgl_modules/webpack.config.js:

  • 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)
  • Remove target: ['web', 'es5']

In stackgl_modules/package.json, drop the now-unused devDeps:

  • @babel/core
  • @babel/preset-env
  • @babel/plugin-transform-modules-commonjs
  • babel-loader

ify-loader (glslify) and raw-loader must stay — they handle the GLSL shader preprocessing that's the actual reason this pre-bundle exists.

Testing

  • After removing the babel rules, run npm run bundle-stackgl
  • Rebuild plotly.js and smoke-test 3D traces (scatter3d / mesh3d / surface) to confirm things still run/look the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreTrack maintenance work (dependency bumps, build/CI, internal refactors, docs, etc.)good for agent

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions