Johannes Rieken
9c2922a85d
feat: enhance source map handling in NLS and private field conversion ( #296957 )
...
* feat: enhance source map handling in NLS and private field conversion
- Implemented inline source maps in the NLS plugin to ensure accurate mapping from transformed source back to original.
- Modified `transformToPlaceholders` to return edits for source map adjustments.
- Added `adjustSourceMap` function to update source maps based on text edits in `convertPrivateFields`.
- Introduced tests for source map accuracy in both NLS and private field conversion scenarios.
- Updated documentation to reflect changes in source map handling and the rationale behind accepting column imprecision.
* address PR review: fix source name collision, guard unmapped segments, reorder mangle before NLS
2026-02-23 12:09:29 +00:00
Matt Bierner
bf3b738a9f
Try to align scanBuiltinExtensions with new esbuild changes
2026-02-17 10:01:30 -08:00
Benjamin Pasero
b1009c98bb
Sessions exploration ( #294912 )
2026-02-17 14:14:39 +00:00
Johannes Rieken
b82bde5026
Change sourcemap option from 'external' to 'linked' for better debugging support ( #295569 )
2026-02-16 12:55:58 +01:00
Johannes
814a9ce765
Refactor resource copying for transpile and bundle builds
...
- Implemented copyAllNonTsFiles() for transpile/dev builds to copy all non-TS files from src/ to output, aligning with previous gulp behavior.
- Retained copyResources() for production builds using curated resource patterns.
- Removed unnecessary devOnlyResourcePatterns and testFixturePatterns.
- Updated watch mode to accept any non-TS file changes.
2026-02-13 15:38:39 +01:00
Johannes
bccf22cb8d
Exclude
2026-02-13 14:59:16 +01:00
Johannes
7c6cca7b14
Add native private field to property transform for esbuild bundles
2026-02-13 14:44:33 +01:00
Johannes Rieken
7687ea5f10
Add SVG resource patterns for transpile/dev builds ( #295119 )
2026-02-13 10:00:14 +00:00
Johannes Rieken
3a8ad661c4
Refactor transpileFile function to remove unused parameter and update sourcefile reference ( #294867 )
2026-02-12 11:53:38 +00:00
Johannes
7ae568ab1e
refactor: streamline NLS messages writing in finalizeNLS function
2026-02-11 14:48:47 +01:00
Johannes
34ced5fa6e
write
2026-02-11 10:21:02 +01:00
Johannes
e562211c1f
fix: remove keyboardMapEntryPoints from desktop entry points and nls.messages.js generation
2026-02-10 17:30:14 +01:00
Johannes
3180e9482c
fix: remove test file exclusion from watch stream
2026-02-10 17:06:49 +01:00
Johannes
edc58f9da1
delete: remove obsolete compare-builds script
2026-02-10 12:45:14 +01:00
Johannes
18456cc05f
source maps: sourcesContent, CDN URL rewriting, replace @parcel/watcher
2026-02-10 11:10:12 +01:00
Johannes
9a9079bf26
esbuild:
2026-02-09 21:11:03 +01:00
Johannes
6d6e9a4f3e
Refactor build process: remove unused entry points and update resource patterns for desktop build
2026-02-09 18:00:57 +01:00
Johannes
696c09b061
add
2026-02-09 10:53:56 +01:00
Johannes
878df8b755
Refactor build system to support esbuild with new transpile and typecheck tasks
2026-02-06 11:36:52 +01:00
Johannes
772a2d094e
Refactor build system: replace createFileContentMapper with fileContentMapperPlugin for better integration with esbuild
2026-02-05 18:38:36 +01:00
Johannes
02e60e2be0
feat: add esbuild-based bundling tasks for standalone web target
2026-02-04 16:51:45 +01:00
Johannes
ca10b50e6b
fix: update regex in replaceInOutput to handle both single and double quotes for NLS placeholders
2026-02-04 11:39:01 +01:00
Johannes
7cf0cec198
feat: enhance build process with product configuration and built-in extensions scanning
2026-02-04 09:42:00 +01:00
Johannes
ed6fcf28c2
feat: add esbuild transpile task with support for excluding test files and customizable output directory
2026-02-04 07:38:05 +01:00
Johannes
cacf5f84fc
feat: enhance finalizeNLS to support writing to multiple output directories for backwards compatibility
2026-02-03 20:36:55 +01:00
Johannes
07e68d11dd
fix: update date handling in jsonEditor for product.json and add build date file in bundle process
2026-02-03 18:18:05 +01:00
Johannes
286945b656
feat: enhance esbuild bundling with target support for desktop, server, and server-web
2026-02-03 12:18:39 +01:00
Johannes
73dcb4734d
feat: implement esbuild-based bundling tasks and enhance NLS processing
2026-02-02 18:04:20 +01:00
Johannes
7642c07690
feat(nls): implement NLS plugin for esbuild with message extraction and processing
2026-01-30 18:31:27 +01:00