@storm-software/unbuild 0.22.0 → 0.23.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/build.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { UnbuildOptions } from './types.mjs';
2
2
  import '@storm-software/build-tools';
3
+ import 'jiti';
3
4
  import 'unbuild';
4
5
 
5
6
  /**
package/dist/build.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { UnbuildOptions } from './types.js';
2
2
  import '@storm-software/build-tools';
3
+ import 'jiti';
3
4
  import 'unbuild';
4
5
 
5
6
  /**
package/dist/build.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2Q67L63Ajs = require('./chunk-2Q67L63A.js');
4
- require('./chunk-E73BVQF5.js');
5
- require('./chunk-J5YBLOB7.js');
6
- require('./chunk-B2WY6JG2.js');
7
- require('./chunk-RUNO4F6F.js');
8
- require('./chunk-6KE6SIPQ.js');
9
- require('./chunk-BMAXMHJB.js');
10
- require('./chunk-UUI4UWA4.js');
11
- require('./chunk-4WKFVYTI.js');
3
+ var _chunkT2OTJN2Djs = require('./chunk-T2OTJN2D.js');
4
+ require('./chunk-3OJD7CO4.js');
5
+ require('./chunk-AYRYNROK.js');
6
+ require('./chunk-DFIGNXGY.js');
7
+ require('./chunk-RCEWRXM5.js');
8
+ require('./chunk-XEAFTDQ7.js');
9
+ require('./chunk-WPOEGALQ.js');
10
+ require('./chunk-OQPSH7GE.js');
11
+ require('./chunk-3GQAWCBQ.js');
12
12
 
13
13
 
14
- exports.build = _chunk2Q67L63Ajs.build;
14
+ exports.build = _chunkT2OTJN2Djs.build;
package/dist/build.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-SGIQJ2OU.mjs";
3
+ } from "./chunk-AW52DUNE.mjs";
4
4
  import "./chunk-IIVTCNH5.mjs";
5
5
  import "./chunk-T5NKX2EJ.mjs";
6
6
  import "./chunk-AICX43E6.mjs";
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
4
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5
+ }) : x)(function(x) {
6
+ if (typeof require !== "undefined") return require.apply(this, arguments);
7
+ throw Error('Dynamic require of "' + x + '" is not supported');
8
+ });
9
+
10
+
11
+
12
+
13
+ exports.__name = __name; exports.__require = __require;
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUUI4UWA4js = require('./chunk-UUI4UWA4.js');
4
+ var _chunkOQPSH7GEjs = require('./chunk-OQPSH7GE.js');
5
5
 
6
6
 
7
- var _chunk4WKFVYTIjs = require('./chunk-4WKFVYTI.js');
7
+ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
8
8
 
9
9
  // src/clean.ts
10
10
  var _promises = require('fs/promises');
11
11
  async function clean(name = "Unbuild", directory, config) {
12
- _chunkUUI4UWA4js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
- const stopwatch = _chunkUUI4UWA4js.getStopwatch.call(void 0, `${name} output clean`);
12
+ _chunkOQPSH7GEjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
+ const stopwatch = _chunkOQPSH7GEjs.getStopwatch.call(void 0, `${name} output clean`);
14
14
  await _promises.rm.call(void 0, directory, {
15
15
  recursive: true,
16
16
  force: true
17
17
  });
18
18
  stopwatch();
19
19
  }
20
- _chunk4WKFVYTIjs.__name.call(void 0, clean, "clean");
20
+ _chunk3GQAWCBQjs.__name.call(void 0, clean, "clean");
21
21
 
22
22
 
23
23