@hypernym/bundler 0.6.0 → 0.6.1
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/bin/index.mjs +2 -4
- package/package.json +1 -1
package/dist/bin/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ const externals = [
|
|
|
26
26
|
];
|
|
27
27
|
|
|
28
28
|
const name = "bundler";
|
|
29
|
-
const version = `0.6.
|
|
29
|
+
const version = `0.6.1`;
|
|
30
30
|
|
|
31
31
|
const cl = console.log;
|
|
32
32
|
const logger = {
|
|
@@ -324,7 +324,7 @@ async function build(cwd, options) {
|
|
|
324
324
|
path: _entry.output,
|
|
325
325
|
size: stats.size,
|
|
326
326
|
buildTime: Date.now() - entryStart,
|
|
327
|
-
format:
|
|
327
|
+
format: "dts",
|
|
328
328
|
logs: buildLogs
|
|
329
329
|
});
|
|
330
330
|
buildStats.size = buildStats.size + stats.size;
|
|
@@ -417,8 +417,6 @@ async function createBuilder(cwd, args, options) {
|
|
|
417
417
|
format = "cjs";
|
|
418
418
|
if (format === "module")
|
|
419
419
|
format = "esm";
|
|
420
|
-
if (base.includes(".d."))
|
|
421
|
-
format = "dts";
|
|
422
420
|
if (file.logs) {
|
|
423
421
|
for (const log of file.logs) {
|
|
424
422
|
cl(
|