@absolutejs/absolute 0.19.0-beta.76 → 0.19.0-beta.78

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.
package/dist/build.js CHANGED
@@ -171241,6 +171241,9 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171241
171241
  const isIncremental = incrementalFiles && incrementalFiles.length > 0;
171242
171242
  const normalizedIncrementalFiles = incrementalFiles?.map(normalizePath);
171243
171243
  const freshReadPlugins = isIncremental ? [createFreshReadPlugin(incrementalFiles)] : [];
171244
+ if (isIncremental) {
171245
+ console.log(`[build] incremental with ${incrementalFiles.length} changed files, fresh-read plugin active`);
171246
+ }
171244
171247
  const throwOnError = options?.throwOnError === true;
171245
171248
  const hmr = options?.injectHMR === true;
171246
171249
  const buildPath = validateSafePath(buildDirectory, projectRoot);
@@ -204247,7 +204250,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
204247
204250
  }
204248
204251
  if (config.reactDirectory && affectedFrameworks.includes("react")) {
204249
204252
  await handleReactFastPath(state, config, files, startTime, onRebuildComplete);
204250
- files.filter((f) => detectFramework(f, state.resolvedPaths) === "react").forEach((f) => handled.add(f));
204253
+ files.filter((f) => detectFramework(f, state.resolvedPaths) === "react" && (f.endsWith(".tsx") || f.endsWith(".jsx"))).forEach((f) => handled.add(f));
204251
204254
  }
204252
204255
  if (config.svelteDirectory && affectedFrameworks.includes("svelte")) {
204253
204256
  await handleSvelteFastPath(state, config, files, startTime, onRebuildComplete);
@@ -204899,5 +204902,5 @@ export {
204899
204902
  build
204900
204903
  };
204901
204904
 
204902
- //# debugId=CF9E613AA58916E664756E2164756E21
204905
+ //# debugId=BFCF4C8156C9C72464756E2164756E21
204903
204906
  //# sourceMappingURL=build.js.map