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

Include gl3d in strict bundle #5888

Merged
merged 51 commits into from
Sep 2, 2021
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Aug 12, 2021

Addresses #897 and adds all gl3d traces as well as heatmapgl and pointcloud traces from gl2d subplots to the "strict" bundle.

To test it within dashboard after checking out the branch

npm ci
npm run strict

@plotly/plotly_js

archmoj added 30 commits August 10, 2021 13:48
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@archmoj archmoj added this to the v2.5.0 milestone Sep 1, 2021
@@ -152,7 +168,7 @@
"deep-equal": "^2.0.5",
"derequire": "^2.1.1",
"ecstatic": "^4.1.4",
"eslint": "^7.32.0",
"eslint": "git://github.com/archmoj/eslint#083ad40001b45ad06b07ef0449b6f06e5c9bb099",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

package.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

Excellent! I'm not going to go through all the new code you've added in all the sub-packages... the tests pass so I'm happy :) 💃

@archmoj
Copy link
Contributor Author

archmoj commented Sep 2, 2021

Changes to the bundle sizes:

  • Red: before
  • Green: after

sizes

This could be reduced in follow up PR(s) by removing unused dimensions e.g. iso-surface generation in surface-nets and other modules.

@archmoj archmoj merged commit d3b1345 into master Sep 2, 2021
@archmoj archmoj deleted the gl3d-without-function-constructors branch September 2, 2021 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants