Skip to content

Commit 66920c1

Browse files
feat(Output): Add ESBuild configuration and Tauri IPC stubs for VS Code
Add the complete ESBuild configuration for bundling VS Code source code for the Land editor's Tauri environment. This includes: - ESBuild config files for CodeEditorLand/Editor and Microsoft/VSCode targets - Exclusion patterns for test files, Electron-specific code, Node.js modules, and server code - RestPlugin integration for the Rest (OXC) bundler - Full set of browser polyfills: ChildProcessPolyfill, FileProtocolShim, FileSystemPolyfill, IPCRendererShim, NativeModulePolyfill, ProcessPolyfill, SharedProcessProxy - Service files for dev logging, tracing, and Tauri IPC communication Also adds missing IPC channel stubs in TauriMainProcessService for: webview, watcher, diagnostics, urlHandler, userDataAutoSync, download, and extensionGalleryManifest services. These changes enable VS Code to run in the Tauri-based Land editor by providing necessary browser polyfills and IPC channel implementations.
1 parent 7cf91f2 commit 66920c1

39 files changed

Lines changed: 355 additions & 18 deletions

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild/CodeEditorLand/Editor.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild/CodeEditorLand/Editor/Bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild/Exclude/Bootstrap.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var r=e=>[];export{r as default};

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild/Exclude/Electron.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var r=e=>[];export{r as default};

Configuration/CodeEditorLand/Land/Element/Output/Source/ESBuild/Exclude/Node.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var e=t=>[`${t}/platform/cssDev/*`];export{e as default};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var r=e=>[`${e}/server/`];export{r as default};

0 commit comments

Comments
 (0)