nativescript 9.0.2 → 9.0.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -593,11 +593,13 @@ class BundlerCompilerService extends events_1.EventEmitter {
|
|
|
593
593
|
// For incremental builds, we need to determine which emitted files are likely affected
|
|
594
594
|
// by the source file changes
|
|
595
595
|
const filesToCopy = [];
|
|
596
|
-
//
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
596
|
+
// Include all bundle files including vendor - vendor.mjs contains @nativescript/core
|
|
597
|
+
// and other dependencies that may change during development (especially in monorepos
|
|
598
|
+
// where packages/core is linked). Previously vendor was excluded which caused changes
|
|
599
|
+
// to .ios.ts/.android.ts files in @nativescript/core to not be synced.
|
|
600
|
+
const bundleFiles = emittedFiles.filter((file) => file.endsWith(".mjs") ||
|
|
601
|
+
file.endsWith(".js") ||
|
|
602
|
+
file.endsWith(".map"));
|
|
601
603
|
filesToCopy.push(...bundleFiles);
|
|
602
604
|
// Only copy assets if there are explicit asset-related changes
|
|
603
605
|
const assetFiles = emittedFiles.filter((file) => file.includes("assets/") ||
|
package/package.json
CHANGED