3 Commits

Author SHA1 Message Date
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
687bc641a5 fix: fileReplacements should be relative to app root 2021-03-29 13:59:09 +02:00
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