Igor Randjelovic
429328495c
feat(wepback): custom buildPathsupport ( #10477 )
...
Co-authored-by: farfromrefuge <dev@akylas.fr >
2024-01-19 20:23:25 +01:00
Igor Randjelovic
e1e8a10e63
style: fix format
2023-10-09 22:26:23 +02:00
Michael DeGiovanni
0b5393d7bf
fix(webpack): handle single appComponents env flag ( #10401 )
2023-10-09 22:24:57 +02:00
Canmert
0a2b2202f3
fix(testing): e2e flag no longer needed, testID is now applicable in dev or prod builds ( #10396 )
...
- you can now test on development or production with testID set
- for android, this changes testID to use resource id instead of content description
- you no longer need to pass `--env.e2e`. e2e is simply usable if testID is set
- the `testID` property will also set `accessibilityIdentifier` and `accessibilityIdentifier` property will set `testID` only if there is a `testID` already set
2023-10-04 08:49:26 -07:00
Nathan Walker
bbede5d795
feat(visionos): Vision Pro support ( #10392 )
2023-09-28 17:55:40 -07:00
Igor Randjelovic
2cb26c2231
fix(webpack): set keep_quoted_props: true in TerserOptions ( #10382 )
2023-09-14 16:40:11 +02:00
Nathan Walker
7c2938d2ac
chore: TypeScript 5.2 with Nx 16.8.1 ( #10380 )
2023-09-09 08:55:39 -07:00
Nathan Walker
d3a0f2c9a6
chore: TypeScript 5.1 with Nx 16.6 migrations ( #10338 )
2023-08-11 07:09:32 -07:00
Igor Randjelovic
3325b3ec0b
feat(webpack): place hidden sourceMaps in platforms folder ( #10352 )
2023-08-03 22:40:42 +02:00
Eduardo Speroni
0efb84ff44
fix(webpack): force experimentalDecorators on NativeClass ( #10356 )
2023-08-03 22:08:12 +02:00
Eduardo Speroni
dd10bfccc2
feat(webpack): angular 16.1 support ( #10317 )
2023-06-21 16:24:41 +02:00
Eduardo Speroni
9627a80f27
fix(webpack): angular 16 build with terser ( #10302 )
2023-06-06 16:54:25 +02:00
Igor Randjelovic
ebb827fb8e
feat(webpack): support tsconfig.app.json when present ( #10221 )
2023-03-28 16:17:51 +02:00
Igor Randjelovic
6059984555
fix(webpack): notify CLI even if there are compilation errors ( #10141 )
2023-03-28 15:35:46 +02:00
Manuel Roat
6e792fe07d
fix(webpack): fix regex for PlatformSuffixPlugin ( #10169 )
2023-01-20 13:09:45 +01:00
Ruslan Lekhman
f100109e2d
fix(webpack): support angular 15.x ( #10106 )
2022-11-30 14:51:05 +01:00
Eduardo Speroni
42f5dc51c7
fix(webpack): prevent hmr from patching __onLiveSync multiple times ( #10103 )
2022-11-24 12:18:51 +01:00
Igor Randjelovic
59624a4ebe
fix(webpack): make NativeClass transformer backwards compatible
2022-11-14 13:13:06 +01:00
Nathan Walker
7f069a7093
feat: TypeScript 4.8+ support and NativeClass decorator improvements ( #10081 )
2022-11-08 15:18:10 -08:00
Samuel Schultze
59ca35b44b
fix(webpack): close compiler after run ( #10080 )
2022-11-08 22:08:49 +01:00
Igor Randjelovic
81ab0ec7dc
chore: webpack updates ( #10050 )
2022-10-04 22:19:58 +02:00
Igor Randjelovic
a96445f530
fix: revert copy rule glob filter
2022-07-15 19:32:56 +02:00
Igor Randjelovic
e80ec07873
feat(webpack): add --env.stats to disable printing stats
...
primarily used internally by preview-cli
2022-07-13 15:25:51 -07:00
Igor Randjelovic
eedc9c9eb1
fix(webpack): remove copy rules that don't match any files to avoid false watch triggers
2022-07-13 15:25:51 -07:00
Igor Randjelovic
fefac9f554
feat(webpack): allow disabling nativescriptLibPath warning with a boolean
2022-07-13 15:25:51 -07:00
Igor Randjelovic
0556cf9b20
refactor(webpack): use real modules and deprecate virtual modules
2022-07-13 15:25:51 -07:00
Igor Randjelovic
5a00438321
fix(hmr): emit boot log at boot instead of the 1st livesync
2022-07-13 15:25:37 -07:00
Igor Randjelovic
91d2c57ea0
feat(webpack): emit hrm boot status
2022-07-13 15:24:43 -07:00
Igor Randjelovic
a6d19e9716
wip: watchstate plugin adjustments
2022-07-13 15:23:56 -07:00
Igor Randjelovic
33ab7d27b7
refactor(webpack): use global require for checking hmr chunks
2022-07-13 15:23:56 -07:00
Eduardo Speroni
c9f77a0a22
fix(webpack): NativeClass decorator should run after angular transformers in AOT mode ( #9908 )
2022-07-09 10:09:43 -07:00
Nathan Walker
97a21bb0d7
fix(webpack): unit test runner with node 18+ ( #9952 )
2022-07-09 10:09:43 -07:00
Nathan Walker
8be543bcc7
feat: testID property for use with e2e testing without interfering with a11y ( #9793 )
...
* fix(android): nested frames were sometimes not recreated (#9748 )
Co-authored-by: Eduardo Speroni <edusperoni@gmail.com >
* feat: testID property for use with e2e testing without interfering with a11y
* feat: better testID support along a11y
wip
* fix: make sure we have a defined id
* feat: --env.e2e to enable testID
* chore: return if using testID
* chore: cleanup
Co-authored-by: Eduardo Speroni <edusperoni@gmail.com >
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2022-03-08 23:25:05 +01:00
Igor Randjelovic
af4b7e3b33
feat: support webpack profiling ( #9804 )
...
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr >
2022-03-03 10:22:28 +01:00
Igor Randjelovic
151d6e8c85
fix(webpack): xml-namespace-loader incorrect dependency mapping ( #9780 )
2022-03-03 09:38:27 +01:00
François KLINGLER
4fa51b6064
feat(webpack): add support for .mjs files ( #9747 )
...
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2022-02-18 13:58:44 +01:00
Igor Randjelovic
9c9c831ac0
feat(webpack): allow watching node_modules ( #9781 )
2022-02-18 13:39:28 +01:00
Igor Randjelovic
61ff7e4762
feat(webpack): read nativescript.config.ts main if set before fallback to package.json ( #9769 )
...
implements #9658
BREAKING CHANGES:
Possibly breaking if a project has a main field set in the nativescript.config.ts - since after this lands, this value will be used instead of package.json main.
The impact is likely very small, the steps to migrate:
(Option A) remove main from nativescript.config.ts if set
(Option B) update main to the correct path in nativescript.config.ts if set incorrectly
2022-02-18 13:39:04 +01:00
Igor Randjelovic
cb7bd2a401
fix(webpack): exclude other platforms from require.context ( #9686 )
...
fixes #9682
2022-02-18 13:37:32 +01:00
Igor Randjelovic
965ccb4aec
fix(webpack): typescript imports in non-ts projects ( #9714 )
2021-12-23 22:48:00 +01:00
Eduardo Speroni
0df5aa9712
feat(webpack): disable aot flag, optional angular dep and tsconfig utils ( #9711 )
...
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2021-12-22 20:54:17 +01:00
Igor Randjelovic
a88cacab89
chore(migrate): apps/* to webpack5 ( #9606 )
2021-12-21 09:47:33 -08:00
Eduardo Speroni
fae6582a61
fix(webpack): prepend NativeClass transformer in angular config ( #9698 )
...
This fixes angular JIT compilation
2021-12-10 22:31:05 +01:00
Eduardo Speroni
c68f40f871
feat(webpack): support NG 13 and zone async/await ( #9676 )
...
* feat(webpack): support NG 13 and zone async/await
* chore: cleanup
* chore: remove require.resolve and update snapshots
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2021-11-30 16:51:34 +01:00
Eduardo Speroni
05082b1aec
fix(webpack5): include hmr handling only when enabled ( #9685 )
...
* fix(webpack): respect hmr flag
* fix(webpack): ensure correct loader order is used
* chore: cleanup
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2021-11-29 17:55:10 +01:00
halfnelson
78e9c17be3
fix(webpack): map 'svelte' to 'svelte/internal' to avoid forced ssr ( #9627 )
2021-10-29 12:32:56 +02:00
Igor Randjelovic
99298331c8
fix(webpack): exclude files starting with _ from require.context ( #9596 )
2021-10-06 12:49:47 +02:00
Ian MacDonald
1ceea571e4
fix(webpack): using multiple workers in a single file
2021-09-29 19:22:21 +02:00
Igor Randjelovic
f00f82caa4
feat(webpack): -v and --version flags
2021-09-08 16:12:11 -07:00
Igor Randjelovic
4c393cd837
feat(webpack): export merge helper
2021-09-08 16:12:11 -07:00