02da807b9f
return false from isNativeClassExtension (though didn't seem to make a difference)
2023-12-02 17:36:11 +09:00
e04e9b6909
Revert "Change target to ES5 for targeting Hermes Engine, disable noEmitHelpers, don't crash if registerOnGlobalContext fails, and disable the special transform for NativeClass decorator"
...
This reverts commit 7e0497c8b15c96e440a9809642e0f3d441e4e871.
2023-12-02 11:38:29 +09:00
7e0497c8b1
Change target to ES5 for targeting Hermes Engine, disable noEmitHelpers, don't crash if registerOnGlobalContext fails, and disable the special transform for NativeClass decorator
2023-11-18 12:13:47 +05:30
e1e8a10e63
style: fix format
2023-10-09 22:26:23 +02:00
0b5393d7bf
fix(webpack): handle single appComponents env flag ( #10401 )
2023-10-09 22:24:57 +02:00
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
bbede5d795
feat(visionos): Vision Pro support ( #10392 )
2023-09-28 17:55:40 -07:00
2cb26c2231
fix(webpack): set keep_quoted_props: true in TerserOptions ( #10382 )
2023-09-14 16:40:11 +02:00
7c2938d2ac
chore: TypeScript 5.2 with Nx 16.8.1 ( #10380 )
2023-09-09 08:55:39 -07:00
d3a0f2c9a6
chore: TypeScript 5.1 with Nx 16.6 migrations ( #10338 )
2023-08-11 07:09:32 -07:00
3325b3ec0b
feat(webpack): place hidden sourceMaps in platforms folder ( #10352 )
2023-08-03 22:40:42 +02:00
0efb84ff44
fix(webpack): force experimentalDecorators on NativeClass ( #10356 )
2023-08-03 22:08:12 +02:00
dd10bfccc2
feat(webpack): angular 16.1 support ( #10317 )
2023-06-21 16:24:41 +02:00
9627a80f27
fix(webpack): angular 16 build with terser ( #10302 )
2023-06-06 16:54:25 +02:00
ebb827fb8e
feat(webpack): support tsconfig.app.json when present ( #10221 )
2023-03-28 16:17:51 +02:00
6059984555
fix(webpack): notify CLI even if there are compilation errors ( #10141 )
2023-03-28 15:35:46 +02:00
6e792fe07d
fix(webpack): fix regex for PlatformSuffixPlugin ( #10169 )
2023-01-20 13:09:45 +01:00
f100109e2d
fix(webpack): support angular 15.x ( #10106 )
2022-11-30 14:51:05 +01:00
42f5dc51c7
fix(webpack): prevent hmr from patching __onLiveSync multiple times ( #10103 )
2022-11-24 12:18:51 +01:00
59624a4ebe
fix(webpack): make NativeClass transformer backwards compatible
2022-11-14 13:13:06 +01:00
7f069a7093
feat: TypeScript 4.8+ support and NativeClass decorator improvements ( #10081 )
2022-11-08 15:18:10 -08:00
59ca35b44b
fix(webpack): close compiler after run ( #10080 )
2022-11-08 22:08:49 +01:00
81ab0ec7dc
chore: webpack updates ( #10050 )
2022-10-04 22:19:58 +02:00
a96445f530
fix: revert copy rule glob filter
2022-07-15 19:32:56 +02:00
e80ec07873
feat(webpack): add --env.stats to disable printing stats
...
primarily used internally by preview-cli
2022-07-13 15:25:51 -07:00
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
fefac9f554
feat(webpack): allow disabling nativescriptLibPath warning with a boolean
2022-07-13 15:25:51 -07:00
0556cf9b20
refactor(webpack): use real modules and deprecate virtual modules
2022-07-13 15:25:51 -07:00
5a00438321
fix(hmr): emit boot log at boot instead of the 1st livesync
2022-07-13 15:25:37 -07:00
91d2c57ea0
feat(webpack): emit hrm boot status
2022-07-13 15:24:43 -07:00
a6d19e9716
wip: watchstate plugin adjustments
2022-07-13 15:23:56 -07:00
33ab7d27b7
refactor(webpack): use global require for checking hmr chunks
2022-07-13 15:23:56 -07:00
c9f77a0a22
fix(webpack): NativeClass decorator should run after angular transformers in AOT mode ( #9908 )
2022-07-09 10:09:43 -07:00
97a21bb0d7
fix(webpack): unit test runner with node 18+ ( #9952 )
2022-07-09 10:09:43 -07:00
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
af4b7e3b33
feat: support webpack profiling ( #9804 )
...
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2022-03-03 10:22:28 +01:00
151d6e8c85
fix(webpack): xml-namespace-loader incorrect dependency mapping ( #9780 )
2022-03-03 09:38:27 +01:00
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
9c9c831ac0
feat(webpack): allow watching node_modules ( #9781 )
2022-02-18 13:39:28 +01:00
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
cb7bd2a401
fix(webpack): exclude other platforms from require.context ( #9686 )
...
fixes #9682
2022-02-18 13:37:32 +01:00
965ccb4aec
fix(webpack): typescript imports in non-ts projects ( #9714 )
2021-12-23 22:48:00 +01:00
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
a88cacab89
chore(migrate): apps/* to webpack5 ( #9606 )
2021-12-21 09:47:33 -08:00
fae6582a61
fix(webpack): prepend NativeClass transformer in angular config ( #9698 )
...
This fixes angular JIT compilation
2021-12-10 22:31:05 +01:00
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
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
78e9c17be3
fix(webpack): map 'svelte' to 'svelte/internal' to avoid forced ssr ( #9627 )
2021-10-29 12:32:56 +02:00
99298331c8
fix(webpack): exclude files starting with _ from require.context ( #9596 )
2021-10-06 12:49:47 +02:00
1ceea571e4
fix(webpack): using multiple workers in a single file
2021-09-29 19:22:21 +02:00