@pipelab/plugin-minify 1.0.0-beta.10 → 1.0.0-beta.12

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.mjs CHANGED
@@ -1,16 +1,25 @@
1
- import { a as __require, i as __reExport, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
1
+ import { a as __require, i as __reExport, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
2
2
  import { readdir } from "node:fs/promises";
3
3
  import path, { dirname, join } from "node:path";
4
+ import { fileURLToPath } from "node:url";
4
5
  import { hostname } from "os";
5
6
  import { normalize } from "path";
6
7
  import { formatWithOptions, types } from "util";
7
- import { fileURLToPath } from "node:url";
8
8
  import { existsSync } from "node:fs";
9
9
  import http from "node:http";
10
10
  import { webcrypto } from "node:crypto";
11
+ //#region ../../node_modules/tsdown/esm-shims.js
12
+ var getFilename, getDirname, __dirname, __filename;
13
+ var init_esm_shims = __esmMin((() => {
14
+ getFilename = () => fileURLToPath(import.meta.url);
15
+ getDirname = () => path.dirname(getFilename());
16
+ __dirname = /* @__PURE__ */ getDirname();
17
+ __filename = /* @__PURE__ */ getFilename();
18
+ }));
11
19
  //#endregion
12
20
  //#region ../../packages/migration/src/models/createMigration.ts
13
21
  var import_main = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
22
+ init_esm_shims();
14
23
  var __defProp = Object.defineProperty;
15
24
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
25
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -47274,6 +47283,7 @@ object({
47274
47283
  });
47275
47284
  //#endregion
47276
47285
  //#region ../../packages/core-node/src/context.ts
47286
+ init_esm_shims();
47277
47287
  const _dirname = typeof __dirname !== "undefined" ? __dirname : typeof import.meta !== "undefined" && import.meta.url ? dirname(fileURLToPath(import.meta.url)) : process.cwd();
47278
47288
  process.env.NODE_ENV;
47279
47289
  /**
@@ -106794,6 +106804,7 @@ var require_lib$9 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
106794
106804
  //#endregion
106795
106805
  //#region ../../node_modules/@npmcli/run-script/lib/set-path.js
106796
106806
  var require_set_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
106807
+ init_esm_shims();
106797
106808
  const { log } = require_lib$29();
106798
106809
  const { resolve: resolve$4, dirname: dirname$2, delimiter } = __require("path");
106799
106810
  const nodeGypPath = resolve$4(__dirname, "../lib/node-gyp-bin");