@absolutejs/absolute 0.11.1 → 0.12.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.
package/dist/index.js CHANGED
@@ -182135,6 +182135,7 @@ var DEFAULT_CHUNK_SIZE = 16384;
182135
182135
  var BUN_BUILD_WARNING_SUPPRESSION = "wildcard sideEffects are not supported yet";
182136
182136
  var ANGULAR_BUILD_WARNING_SUPPRESSION = "@angular/common/package.json";
182137
182137
  // src/core/build.ts
182138
+ import { copyFileSync, mkdirSync } from "fs";
182138
182139
  import { rm as rm3, mkdir as mkdir4, cp } from "fs/promises";
182139
182140
  import { basename as basename7, join as join8 } from "path";
182140
182141
  import { cwd, env as env2, exit } from "process";
@@ -235214,6 +235215,9 @@ var build = async ({
235214
235215
  recursive: true
235215
235216
  });
235216
235217
  await updateAssetPaths(manifest, outputHtmxPages);
235218
+ const htmxDestDir = isSingle ? buildPath : join8(buildPath, basename7(htmxDir));
235219
+ mkdirSync(htmxDestDir, { recursive: true });
235220
+ copyFileSync(join8(htmxDir, "htmx.min.js"), join8(htmxDestDir, "htmx.min.js"));
235217
235221
  }
235218
235222
  if (!options?.preserveIntermediateFiles)
235219
235223
  await cleanup({
@@ -283330,5 +283334,5 @@ export {
283330
283334
  ANGULAR_BUILD_WARNING_SUPPRESSION
283331
283335
  };
283332
283336
 
283333
- //# debugId=927665B1B47632A064756E2164756E21
283337
+ //# debugId=07F6692386554F1464756E2164756E21
283334
283338
  //# sourceMappingURL=index.js.map