@absolutejs/absolute 0.19.0-beta.10 → 0.19.0-beta.11

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/index.js CHANGED
@@ -171312,29 +171312,6 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171312
171312
  setAngularVendorPaths(angularVendorPaths2);
171313
171313
  }
171314
171314
  const htmlScriptPlugin = hmr ? createHTMLScriptHMRPlugin(htmlDir, htmxDir) : undefined;
171315
- const freshFilePlugin = isIncremental ? {
171316
- name: "hmr-fresh-files",
171317
- setup(pluginBuild) {
171318
- pluginBuild.onLoad({ filter: /\.(tsx?|jsx?)$/ }, (args) => {
171319
- try {
171320
- const contents = readFileSync5(args.path, "utf-8");
171321
- const ext = args.path.split(".").pop() ?? "tsx";
171322
- const loaderMap = {
171323
- js: "js",
171324
- jsx: "jsx",
171325
- ts: "ts",
171326
- tsx: "tsx"
171327
- };
171328
- return {
171329
- contents,
171330
- loader: loaderMap[ext] ?? "tsx"
171331
- };
171332
- } catch {
171333
- return;
171334
- }
171335
- });
171336
- }
171337
- } : undefined;
171338
171315
  const reactBuildConfig = reactClientEntryPoints.length > 0 ? {
171339
171316
  entrypoints: reactClientEntryPoints,
171340
171317
  ...vendorPaths ? { external: Object.keys(vendorPaths) } : {},
@@ -171343,7 +171320,6 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
171343
171320
  naming: `[dir]/[name].[hash].[ext]`,
171344
171321
  outdir: buildPath,
171345
171322
  ...hmr ? { jsx: { development: true }, reactFastRefresh: true } : {},
171346
- ...freshFilePlugin ? { plugins: [freshFilePlugin] } : {},
171347
171323
  root: clientRoot,
171348
171324
  splitting: true,
171349
171325
  target: "browser",
@@ -202574,38 +202550,17 @@ var parseErrorLocationFromMessage = (msg) => {
202574
202550
  vendorPaths = computeVendorPaths2();
202575
202551
  setDevVendorPaths2(vendorPaths);
202576
202552
  }
202577
- const { rmSync: rmSync2, readFileSync: readFileSync9 } = await import("fs");
202553
+ const { rmSync: rmSync2 } = await import("fs");
202578
202554
  rmSync2(resolve19(buildDir, "react", "indexes"), {
202579
202555
  force: true,
202580
202556
  recursive: true
202581
202557
  });
202582
- const freshFilePlugin = {
202583
- name: "hmr-fresh-files",
202584
- setup(build3) {
202585
- build3.onLoad({ filter: /\.(tsx?|jsx?)$/ }, (args) => {
202586
- try {
202587
- const contents = readFileSync9(args.path, "utf-8");
202588
- const ext = args.path.split(".").pop() ?? "tsx";
202589
- const loaderMap = {
202590
- js: "js",
202591
- jsx: "jsx",
202592
- ts: "ts",
202593
- tsx: "tsx"
202594
- };
202595
- return { contents, loader: loaderMap[ext] ?? "tsx" };
202596
- } catch {
202597
- return;
202598
- }
202599
- });
202600
- }
202601
- };
202602
202558
  const clientResult = await bunBuild5({
202603
202559
  entrypoints: reactEntries,
202604
202560
  format: "esm",
202605
202561
  jsx: { development: true },
202606
202562
  naming: "[dir]/[name].[hash].[ext]",
202607
202563
  outdir: buildDir,
202608
- plugins: [freshFilePlugin],
202609
202564
  reactFastRefresh: true,
202610
202565
  root: clientRoot,
202611
202566
  splitting: true,
@@ -204032,5 +203987,5 @@ export {
204032
203987
  ANGULAR_INIT_TIMEOUT_MS
204033
203988
  };
204034
203989
 
204035
- //# debugId=B7D105275BDED68464756E2164756E21
203990
+ //# debugId=BE3C52B70843DFA464756E2164756E21
204036
203991
  //# sourceMappingURL=index.js.map