* perf - concatenate windows main files
* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"
This reverts commit 84c46b71a5.
* build - exclude server main files
* build - make concat a task that runs like the others
* some renames
* Avoid overwriting the nodejs closure require
* Revert "build - exclude server main files"
This reverts commit 736516624e.
Co-authored-by: Alex Dima <alexdima@microsoft.com>
* ensure node.js `require` is captured
* optimize `main.js` and `cli.js`
* cleanup
* leave out bundled files
* drop package.json from userdata paths
* fix web task
* fix editor distro
* inline version into `product.json`
* also bundle server
* t
* actually do server too
* Keep bundling nls in editor worker
Co-authored-by: Alex Dima <alexdima@microsoft.com>
transpile-only tasks for client and extensions
* extract transpile into its own file
* add transpile-client task, polish transpiler
* add transpile-extensions, improve transpile logic
* move declaration of "const enum" above it usage so that it can be used with const-enum-inlining
* (ugly) make d.ts transpilation configurable because it is needed for extensions but a problem for client
* hack my way around so that `getOwnEmitOutputFilePath` is reusable by our transpile
* honor `noEmit` flag