Commit Graph

66 Commits

Author SHA1 Message Date
Nathan Walker
591ec958c9 feat(webpack): consider prereleases in runtime detection for commonjs auto-fallback 2025-08-28 12:37:02 -07:00
Nathan Walker
e9d3219db2 feat(webpack): auto fallback to commonjs via runtime detection 2025-08-28 12:15:56 -07:00
Nathan Walker
61a83a60c9 feat(nx-cloud): organize workspace caching with improved input/outputs (#10734) 2025-04-29 13:25:39 -07:00
Nathan Walker
41ac6d9706 feat(webpack): support @nativescript-community/svelte-native 2025-03-22 18:53:19 -07:00
farfromrefuge
7036f12b5c fix(android): prevent error on navigation back after using page transition (#10439) 2024-06-28 16:15:40 -07:00
Dimitris-Rafail Katsampas
4abcb216da feat(android): background color/image handling improvements (#10451) 2024-06-28 15:07:10 -07:00
Igor Randjelovic
ccee8e8166 fix: detect core version before including inspector_modules on android (#10520) 2024-04-16 14:20:14 +02:00
Nathan Walker
01d537bf15 feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478) 2024-04-05 17:07:16 -07:00
Igor Randjelovic
429328495c feat(wepback): custom buildPathsupport (#10477)
Co-authored-by: farfromrefuge <dev@akylas.fr>
2024-01-19 20:23:25 +01:00
Nathan Walker
bbede5d795 feat(visionos): Vision Pro support (#10392) 2023-09-28 17:55:40 -07:00
Igor Randjelovic
ebb827fb8e feat(webpack): support tsconfig.app.json when present (#10221) 2023-03-28 16:17:51 +02:00
Igor Randjelovic
a96445f530 fix: revert copy rule glob filter 2022-07-15 19:32:56 +02: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
Nathan Walker
97a21bb0d7 fix(webpack): unit test runner with node 18+ (#9952) 2022-07-09 10:09:43 -07: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
rigor789
5a3a35d376 fix(webpack): add virtualEntry before main entry
fixes running with the JSC runtime, fixes #9469
2021-08-03 15:41:14 +02:00
Igor Randjelovic
69a41eea38 test: update tests and snapshots 2021-06-02 19:07:11 +02:00
Eduardo Speroni
20bec3f7d4 feat: Angular 11 virtual modules compatibility 2021-05-08 17:49:59 -03:00
Igor Randjelovic
4f8522f5d4 refactor: simplify App_Resource exclusions 2021-04-14 15:09:33 +02:00
Martin Guillon
eec2319ac6 fix: prevent App_Resources from being copied (#9325)
to assets
2021-04-12 14:25:56 +02:00
Igor Randjelovic
ef00b434ef chore: rename exclusion 2021-04-05 15:28:08 +02:00
Igor Randjelovic
1627f52043 feat: warnOnce & graceful error handling 2021-04-01 17:55:45 +02:00
Igor Randjelovic
de13357a09 chore: fix tests 2021-03-31 21:33:30 +02:00
Igor Randjelovic
687bc641a5 fix: fileReplacements should be relative to app root 2021-03-29 13:59:09 +02:00
Igor Randjelovic
c922e77129 style: run prettier on webpack5 files 2021-03-29 01:24:23 +02:00
Igor Randjelovic
c55782bfaf chore: clean up unused code 2021-03-29 01:20:43 +02:00
Nathan Walker
7594d00ed9 feat: env based replacements (#9286)
* feat: file replacement handling for TS and pure file copy replacements

* test: add tests for replacements & refactor a bit

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-03-29 01:13:51 +02:00
Igor Randjelovic
75e6009b8a chore: implement basic devServer 2021-03-26 22:16:36 +01:00
Igor Randjelovic
0e8336f1d9 chore: cleanup imports 2021-03-11 16:28:11 +01:00
Igor Randjelovic
437c3b41f9 feat: support workspace configs 2021-03-11 16:19:05 +01:00
Igor Randjelovic
02d2befc8a refactor: simplify project file lookup 2021-03-07 19:33:42 +01:00
Igor Randjelovic
39d90d5c32 chore: mock os.networkInterfaces 2021-03-05 18:28:00 +01:00
Igor Randjelovic
aa0daba6a5 feat: ips helper, ts config, cleanups 2021-03-05 15:34:16 +01:00
Igor Randjelovic
43dc99784a style: move import 2021-03-02 19:20:09 +01:00
Igor Randjelovic
0a1ba16436 feat: parse --env.<flags> [WIP] 2021-03-02 18:50:10 +01:00
Igor Randjelovic
60293bb819 fix: handle empty env for app resources 2021-03-02 18:49:51 +01:00
Igor Randjelovic
3c44a553c3 feat: add DotEnv support 2021-03-02 18:49:15 +01:00
Igor Randjelovic
c3efab3abc refactor: simplify copy handling 2021-01-02 16:27:00 +01:00
Martin Guillon
68f3e728a6 chore: tweaks & fixes (#9109)
* fix: correct bundle analyzer settings

* fix: svelte config fix

* fix: CopyWebpackPlugin fixed ignore

* chore: tabs fix
2020-12-23 20:04:22 +01:00
Igor Randjelovic
de5f67f7c8 chore: add JSDocs 2020-12-08 12:07:42 +01:00
Igor Randjelovic
d21776079f chore: cleanup 2020-12-07 15:01:17 +01:00
Igor Randjelovic
2f39cf5ed6 feat: extract platforms 2020-12-07 13:41:22 +01:00
Igor Randjelovic
7df2f09cfc feat: add postcss-loader by default 2020-12-03 10:45:30 +01:00
Igor Randjelovic
fa70654bfc feat: addCopyRule removeCopyRule helpers 2020-12-01 20:23:56 +01:00
Igor Randjelovic
5dad44a8e3 chore: cleanup 2020-12-01 19:51:07 +01:00