@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.
@@ -26,7 +26,7 @@ const externals = [
26
26
  ];
27
27
 
28
28
  const name = "bundler";
29
- const version = `0.6.0`;
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: _entry.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(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypernym/bundler",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "author": "Hypernym Studio",
5
5
  "description": "ESM & TS module bundler.",
6
6
  "license": "MIT",