Commit dced104
build: Implement Bundle environment variable for conditional asset handling
Introduce a new 'Bundle' environment variable to control asset inclusion and build configuration. When enabled, worker scripts are imported directly from @CodeEditorLand packages rather than being copied as separate files.
- Restructured astro.config.ts to use centralized Static configuration object
- Added conditional logic for pushing different vite-static-copy targets based on Bundle flag
- Updated Application.astro to use Bundle check instead of NODE_ENV/TAURI_ENV_DEBUG
- Simplified script inclusion with direct imports when bundled
- Maintained existing file copy behavior for non-bundled environments
- Exported Host and Static configuration for better maintainability
This change enables more flexible build configurations and prepares the project for different deployment scenarios by decoupling environment checks from asset handling logic.1 parent 2308e4a commit dced104
3,579 files changed
Lines changed: 86 additions & 9074 deletions
File tree
- Source/pages
- Target
- Application
- Static/Application
- vs
- base
- browser
- domImpl
- dompurify
- ui
- actionbar
- aria
- breadcrumbs
- button
- centered
- codicons
- codicon
- contextview
- countBadge
- dialog
- dnd
- dropdown
- findinput
- grid
- highlightedlabel
- hover
- iconLabel
- icons
- inputbox
- keybindingLabel
- list
- mouseCursor
- progressbar
- radio
- resizable
- sash
- scrollbar
- media
- selectBox
- severityIcon
- media
- splitview
- table
- toggle
- toolbar
- tree
- media
- common
- codecs
- decorators
- diff
- marked
- naturalLanguage
- observableInternal
- commonFacade
- logging
- debugger
- semver
- worker
- parts
- ipc
- browser
- common
- request/common
- sandbox/common
- storage/common
- code/browser/workbench
- editor
- browser
- config
- controller
- editContext
- native
- textArea
- gpu
- atlas
- css
- media
- raster
- renderStrategy
- services
- hoverService
- viewParts
- blockDecorations
- contentWidgets
- currentLineHighlight
- decorations
- editorScrollbar
- glyphMargin
- gpuMark
- indentGuides
- lineNumbers
- linesDecorations
- marginDecorations
- margin
- minimap
- overlayWidgets
- overviewRuler
- rulersGpu
- rulers
- scrollDecoration
- selections
- viewCursors
- viewLinesGpu
- viewLines
- viewZones
- whitespace
- view
- widget
- codeEditor
- diffEditor
- components
- diffEditorViewZones
- features
- utils
- markdownRenderer/browser
- multiDiffEditor
- common
- codecs
- frontMatterCodec
- parsers
- tokens
- linesCodec
- tokens
- markdownCodec
- parsers
- tokens
- markdownExtensionsCodec
- parsers
- tokens
- simpleCodec
- tokens
- utils
- commands
- config
- core
- cursor
- diff
- defaultLinesDiffComputer
- algorithms
- languages
- highlights
- injections
- supports
- model
- bracketPairsTextModelPart
- bracketPairsTree
- pieceTreeTextBuffer
- services
- textModelSync
- treeSitter
- standalone
- tokens
- viewLayout
- viewModel
- contrib
- anchorSelect/browser
- bracketMatching/browser
- caretOperations/browser
- clipboard/browser
- codeAction
- browser
- common
- codelens/browser
- colorPicker/browser
- colorPickerParts
- hoverColorPicker
- images
- standaloneColorPicker
- comment/browser
- cursorUndo/browser
- diffEditorBreadcrumbs/browser
- dnd/browser
- documentSymbols/browser
- dropOrPasteInto/browser
- editorState/browser
- find/browser
- folding/browser
- fontZoom/browser
- format/browser
- gotoError/browser
- media
- gotoSymbol/browser
- link
- peek
- gpu/browser
- hover/browser
- inPlaceReplace/browser
- indentation
- browser
- common
- inlayHints/browser
- inlineCompletions/browser
- controller
- hintsWidget
- model
- view
- ghostText
- inlineEdits
- components
- inlineEditsViews
- utils
- inlineProgress/browser
- insertFinalNewLine/browser
- lineSelection/browser
- linesOperations/browser
- linkedEditing/browser
- links/browser
- longLinesHelper/browser
- message/browser
- multicursor/browser
- parameterHints/browser
- peekView/browser
- media
- placeholderText/browser
- quickAccess/browser
- readOnlyMessage/browser
- rename/browser
- sectionHeaders/browser
- semanticTokens
- browser
- common
- smartSelect/browser
- snippet/browser
- stickyScroll/browser
- suggest/browser
- media
- symbolIcons/browser
- toggleTabFocusMode/browser
- tokenization/browser
- unicodeHighlighter/browser
- unusualLineTerminators/browser
- wordHighlighter/browser
- wordOperations/browser
- wordPartOperations/browser
- zoneWidget/browser
- platform
- accessibilitySignal/browser
- media
- accessibility
- browser
- common
- actionWidget
- browser
- common
- actions
- browser
- common
- action/common
- assignment/common
- backup/common
- checksum/common
- clipboard
- browser
- common
- commands/common
- configuration/common
- contextkey
- browser
- common
- contextview/browser
- debug/common
- diagnostics/common
- dialogs
- browser
- common
- dnd/browser
- download/common
- editor/common
- encryption/common
- environment/common
- extensionManagement/common
- extensionRecommendations/common
- extensionResourceLoader
- browser
- common
- extensions/common
- externalServices/common
- externalTerminal/common
- files
- browser
- common
- history/browser
- hover/browser
- instantiation/common
- ipc/common
- jsonschemas/common
- keybinding/common
- keyboardLayout/common
- label/common
- languagePacks
- browser
- common
- layout/browser
- lifecycle/common
- list/browser
- log
- browser
- common
- markers/common
- mcp/common
- notification/common
- observable/common
- opener
- browser
- common
- policy/common
- process/common
- product/common
- progress/common
- prompts/common
- quickinput
- browser
- media
- common
- registry/common
- remoteTunnel/common
- remote
- browser
- common
- request/common
- secrets/common
- sign
- browser
- common
- storage/common
- telemetry
- browser
- common
- terminal/common
- capabilities
- commandDetection
- xterm
- theme
- browser
- common
- colors
- tunnel/common
- undoRedo/common
- update/common
- uriIdentity/common
- url/common
- userDataProfile
- browser
- common
- userDataSync/common
- promptsSync
- userData/common
- utilityProcess/common
- webContentExtractor/common
- webview/common
- window/common
- workspaces/common
- workspace/common
- workbench
- api
- browser
- common
- browser
- actions
- media
- media
- parts
- activitybar
- media
- auxiliarybar
- media
- banner
- media
- dialogs
- editor
- media
- media
- notifications
- media
- panel
- media
- sidebar
- media
- statusbar
- media
- titlebar
- media
- views
- media
- common
- editor
- contrib
- accessibilitySignals/browser
- accessibility
- browser
- common
- authentication/browser
- actions
- bracketPairColorizer2Telemetry/browser
- bulkEdit/browser
- preview
- callHierarchy
- browser
- media
- common
- chat
- browser
- actions
- promptActions
- dialogs/askToSelectPrompt
- utils
- attachments
- promptInstructions
- chatAttachmentModel
- chatContentParts
- media
- chatEditing
- notebook
- contrib
- chatDynamicVariables
- media
- media
- modelPicker
- promptSyntax/contributions
- createPromptCommand
- dialogs
- utils
- viewsWelcome
- common
- chatProgressTypes
- modelPicker
- promptSyntax
- codecs
- parsers
- tokens
- contentProviders
- contributions
- languageFeatures
- providers
- decorationsProvider
- decorations
- utils
- parsers
- promptHeader
- metadata
- service
- utils
- tools
- codeActions/browser
- codeEditor
- browser
- accessibility
- dictation
- emptyTextEditorHint
- find
- inspectEditorTokens
- outline
- quickaccess
- suggestEnabledInput
- common
- commands/common
- comments
- browser
- media
- common
- customEditor
- browser
- media
- common
- debug
- browser
- media
- common
- dropOrPasteInto/browser
- editSessions
- browser
- common
- emmet/browser
- actions
- extensions
- browser
- media
- common
- externalTerminal/browser
- externalUriOpener/common
- files
- browser
- editors
- media
- views
- media
- common
- folding/browser
- format/browser
- inlayHints/browser
- inlineChat
- browser
- media
- common
- inlineCompletions/browser
- interactive/browser
- media
- issue
- browser
- media
- common
- keybindings/browser
- languageDetection/browser
- languageStatus/browser
- media
- limitIndicator/browser
- list/browser
- localHistory/browser
- localization
- browser
- common
- logs
- browser
- common
- markdown/browser
- markers
- browser
- media
- common
- mcp
- browser
- common
- discovery
- mergeEditor
- browser
- commands
- mergeMarkers
- model
- view
- editors
- media
- common
- multiDiffEditor/browser
- notebook
- browser
- contrib
- cellCommands
- cellDiagnostics
- cellStatusBar
- chat
- clipboard
- debug
- editorHint
- editorStatusBar
- execute
- find
- media
- format
- gettingStarted
- kernelDetection
- layout
- marker
- multicursor
- notebookVariables
- outline
- profile
- saveParticipants
- troubleshoot
- undoRedo
- viewportWarmup
- controller
- chat
- diff
- inlineDiff
- media
- outputEditor
- services
- viewModel
- viewParts
- view
- cellParts
- chat
- renderers
- common
- model
- services
- outline/browser
- output
- browser
- common
- performance/browser
- preferences
- browser
- media
- common
- quickaccess/browser
- relauncher/browser
- remote
- browser
- media
- common
- replNotebook/browser
- media
- sash/browser
- scm
- browser
- media
- common
- scrollLocking/browser
- searchEditor/browser
- media
- search
- browser
- AISearch
- media
- notebookSearch
- quickTextSearch
- searchTreeModel
- common
- snippets/browser
- commands
- speech
- browser
- common
- splash/browser
- surveys/browser
- tags
- browser
- common
- tasks
- browser
- common
- telemetry/browser
- terminalContrib
- accessibility
- browser
- common
- test/browser
- autoReplies
- browser
- common
- chat
- browser
- media
- common
- test/browser
- clipboard
- browser
- test/browser
- commandGuide
- browser
- common
- developer
- browser
- media
- common
- environmentChanges/browser
- find
- browser
- media
- common
- history
- browser
- common
- test/common
- links
- browser
- common
- test/browser
- quickAccess/browser
- quickFix
- browser
- media
- test/browser
- stickyScroll
- browser
- media
- common
- suggest/browser
- media
- terminal
- browser
- media
- widgets
- xterm
- common
- remote
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
| 150 | + | |
153 | 151 | | |
154 | 152 | | |
155 | 153 | | |
| |||
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 165 | | |
175 | 166 | | |
176 | 167 | | |
| |||
181 | 172 | | |
182 | 173 | | |
183 | 174 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | 175 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 176 | + | |
205 | 177 | | |
206 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
207 | 181 | | |
208 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments