@normed/bundle 4.6.3 → 4.7.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.
@@ -1,2 +1,2 @@
1
- import { Builder } from "../types";
1
+ import type { Builder } from "../types.ts";
2
2
  export declare const copyBuilder: Builder;
@@ -1,2 +1,2 @@
1
- import { Builder } from "../types";
1
+ import type { Builder } from "../types.ts";
2
2
  export declare const esbuilder: Builder;
@@ -1,4 +1,4 @@
1
- import { Builder } from "../types";
1
+ import type { Builder } from "../types.ts";
2
2
  export declare function verifyBuilder(builder: Builder): {
3
3
  verified: boolean;
4
4
  results: {
@@ -1,28 +1,28 @@
1
1
  import "@normed/json-types";
2
- import { Entrypoint, APIOptions_Bundle } from "./types";
3
- import { WrappedErrors } from "./errors";
4
- import { BundlePlugins } from "./plugins";
2
+ import type { Entrypoint, APIOptions_Bundle } from "./types.ts";
3
+ import { WrappedErrors } from "./errors.ts";
4
+ import type { BundlePlugins } from "./plugins.ts";
5
5
  export default function bundle(options?: APIOptions_Bundle, plugins?: BundlePlugins): Promise<WrappedErrors | {
6
6
  completed: boolean;
7
7
  errors: Error[];
8
8
  warnings: Error[];
9
- watchFiles: import("./File").FileInfo[];
9
+ watchFiles: import("./File.ts").FileInfo[];
10
10
  watchDirs: {
11
11
  path: string;
12
12
  }[];
13
- producedFiles: import("./File").FileInfo[];
13
+ producedFiles: import("./File.ts").FileInfo[];
14
14
  entrypoints: Entrypoint[];
15
15
  duration_ms: number;
16
16
  children: ({
17
17
  completed: boolean;
18
- watchFiles: import("./File").FileInfo[];
18
+ watchFiles: import("./File.ts").FileInfo[];
19
19
  watchDirs: {
20
20
  path: string;
21
21
  }[];
22
- producedFiles: import("./File").FileInfo[];
23
- } & import("./errors").ErrorLog & {
22
+ producedFiles: import("./File.ts").FileInfo[];
23
+ } & import("./errors.ts").ErrorLog & {
24
24
  entrypoints: Entrypoint[];
25
- builder: import("./types").Builder;
25
+ builder: import("./types.ts").Builder;
26
26
  duration_ms: number;
27
27
  })[];
28
28
  }>;
@@ -1,2 +1,2 @@
1
- import { APIOptions_Clean } from "./types";
1
+ import type { APIOptions_Clean } from "./types.ts";
2
2
  export default function clean(options?: APIOptions_Clean): Promise<void>;
@@ -1,4 +1,4 @@
1
1
  import "@normed/json-types";
2
- import { Entrypoint, BuildConfig } from "./types";
3
- import { NoMatchingBuilder } from "./errors";
2
+ import type { Entrypoint, BuildConfig } from "./types.ts";
3
+ import { NoMatchingBuilder } from "./errors.ts";
4
4
  export default function getEntrypoints(buildConfig: BuildConfig, manuallySpecified?: string[]): Promise<(NoMatchingBuilder | Entrypoint)[]>;
@@ -1,5 +1,5 @@
1
- export { default as load_less } from "./load_less";
2
- export { default as load_pug } from "./load_pug";
3
- export { default as load_ts_js } from "./load_ts_js";
4
- export { createCssExternalUrlsPlugin } from "./css_external_urls";
5
- export { createCssUrlResolverPlugin } from "./css_url_resolver";
1
+ export { default as load_less } from "./load_less.ts";
2
+ export { default as load_pug } from "./load_pug.ts";
3
+ export { default as load_ts_js } from "./load_ts_js.ts";
4
+ export { createCssExternalUrlsPlugin } from "./css_external_urls.ts";
5
+ export { createCssUrlResolverPlugin } from "./css_url_resolver.ts";
@@ -1,3 +1,3 @@
1
- import { File } from "./File";
2
- import type { Builder } from "./types";
1
+ import { File } from "./File.ts";
2
+ import type { Builder } from "./types.ts";
3
3
  export declare function getOutExt(builder: Builder, infile: File): string;
@@ -1,7 +1,7 @@
1
- import _clean from "./clean";
2
- import _bundle from "./bundle";
3
- import * as _builders from "./builders";
1
+ import _clean from "./clean.ts";
2
+ import _bundle from "./bundle.ts";
3
+ import * as _builders from "./builders/index.ts";
4
4
  export declare const clean: typeof _clean;
5
5
  export declare const bundle: typeof _bundle;
6
- export type { APIOptions } from "./types";
6
+ export type { APIOptions } from "./types.ts";
7
7
  export declare const verifyBuilder: typeof _builders.verifyBuilder;