Skip to content

Switch to esbuild for faster builds and also to allow using more modern JavaScript syntax and features - #6909

Merged
archmoj merged 112 commits into
masterfrom
build-with-esbuild
Sep 12, 2024
Merged

Switch to esbuild for faster builds and also to allow using more modern JavaScript syntax and features#6909
archmoj merged 112 commits into
masterfrom
build-with-esbuild

Conversation

@archmoj

@archmojarchmoj commented Feb 28, 2024

Copy link
Copy Markdown
Contributor

@plotly/plotly_js

TODOs:

  • Fix regl_codegen
  • Fix custom bundles
  • Test new bundle in amdefine
  • Test new bundle in requirejs
  • Test new bundle in kaleido
  • Test new bundle in orca
  • additional QA on the python side on loading the bundle

@gvwilson

Copy link
Copy Markdown
Contributor

thank you - @marthacryan can you please have a look at this as well?

Comment thread.circleci/config.yml
Comment threadCUSTOM_BUNDLE.md Outdated
@archmoj

archmoj commented Aug 23, 2024

Copy link
Copy Markdown
ContributorAuthor

I'm looking forward to @alexcjohnson's review on this as well. Also thanks to @marthacryan and @birkskyum reviews & contributions 🙏

This PR helps unblock Chart2Music keyboard and sound accessibility features in #6680. cc: @Coding-with-Adam

It might be a good idea and timing to include this in the upcoming RC release of [v2.35.0] (https://github.com/plotly/plotly.js/milestone/72) and our QA. cc: @gvwilson@ndrezn@LiamConnors

It would also help our ongoing and future development and testing of other pull requests. cc: @emilykl@antoinerg

@gvwilson

Copy link
Copy Markdown
Contributor

I approve. Let's hold off on the merge until next week (feels too big to do on a Friday), but congratulations everyone - well done.

@ndrezn

Copy link
Copy Markdown
Contributor

Super excited about this! This change will really improve the development experience for Plotly.js. Kudos 🥳

@Coding-with-Adam

Copy link
Copy Markdown
Contributor

Wonderful news 🚀 . Thank you @archmoj; Thank you @marthacryan

@alexcjohnsonalexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

💃 I'm super excited for this. Looks great!

@archmoj

Copy link
Copy Markdown
ContributorAuthor

Thanks for the reviews!
Before merging this PR, I'd like to do additional QA on the python side on loading the bundle.

@archmojarchmoj modified the milestones: v2.35.0, v3.0.0Aug 27, 2024
@birkskyum

birkskyum commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

We'll need to configure esbuild to also allow require(file.css) because of:

One option is here (esbuild-style-plugin), but there might be built-in support for this in esbuild:

birkskyumand others added 4 commits September 6, 2024 21:52
 - Resolved conflicts in package-lock.json by copying lock file from master then npm install
@archmoj
archmoj merged commit bb2b8e6 into masterSep 12, 2024
@archmoj
archmoj deleted the build-with-esbuild branch September 12, 2024 18:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

featuresomething newinfrastructurebuild process etc.P1needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@archmoj@birkskyum@gvwilson@ndrezn@Coding-with-Adam@alexcjohnson@marthacryan