Skip to content

[BUG]: please provide an unbundled version of stackgl_modules #7654

@jendrikw

Description

@jendrikw

Description

I use a very minimal configuration consisting of just a few modules:

import * as Plotly from "plotly.js/lib/core.js";
import * as scatter from "plotly.js/lib/scatter";
import * as surface from "plotly.js/lib/surface";
Plotly.register([scatter, surface]);

the via node_modules/plotly.js/src/traces/surface/convert.js, line 3, this pulls in stackgl_modules:

var createSurface = require('../../../stackgl_modules').gl_surface3d;

As a result, the whole stackgl_modules/index.js file is pulled in, even though only a few parts are needed.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions