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

build: move notebook renderer build to esbuild #485

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

scnwwu
Copy link
Member

@scnwwu scnwwu commented Aug 30, 2023

Summary
From #482
Move notebook renderer build from webpack to esbuild, so that the watch script can build everything needed for Launch Client.
Added format: "esm" which is required for the notebook renderer to be invoked by VS Code engine. It looks also makes sense to DataViewer as it is currently imported as a module.

Testing

  1. Clean up client/dist directory.
  2. Click Launch Client in VS Code.
  3. Verify that notebook result and data viewer works well.

@scnwwu scnwwu requested a review from scottdover August 30, 2023 07:52
@@ -45,8 +45,13 @@ const nodeBuildOptions = {

const browserBuildOptions = {
...commonBuildOptions,
format: "esm",
Copy link
Contributor

Choose a reason for hiding this comment

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

I was about to ask if you tested the data viewer. Thanks for providing that in your testing notes :)

@scnwwu scnwwu merged commit fde3fa4 into sassoftware:main Aug 31, 2023
@scnwwu scnwwu deleted the p-notebookbuild branch August 31, 2023 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants