Build process/contributor instructions #482
Replies: 1 comment 2 replies
-
As a first step, I'll try to see if I can move the notebook renderer build to esbuild so that the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @scnwwu . I was helping @clangsmith debug an issue a few days ago around our build process and had a few questions.
First, here are steps to reproduce the issue:
This will show you an error because some of the assets aren't built with the
npm watch
command. In this case, the solution was to first runnpm compile-browser
, thennpm watch
.There are a few solutions I can think of:
CONTRIBUTING.md
to instruct the contributor to first runnpm install && npm run vscode:prepublish
watch
to watch both browser and clientpreLaunchTask
to target an npm script that runsnpm run vscode:prepublish
prior to runningnpm run watch
This also brings up another question I've had for some time. Why do we use both
esbuild
and webpack to build assets? Would it be a good idea to try to migrate everything to one build tool, or do we need both for some reason?Beta Was this translation helpful? Give feedback.
All reactions