@normed/bundle 4.4.0 → 4.5.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/CHANGELOG.md +5 -0
- package/README.md +30 -0
- package/bundles/bin/cli.js +653 -345
- package/bundles/bin/cli.js.map +3 -3
- package/bundles/esbuild-plugins/load_pug.d.ts +16 -0
- package/bundles/index.js +653 -345
- package/bundles/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
import type * as esbuild from "esbuild";
|
|
2
|
+
/**
|
|
3
|
+
* Discovered pug file reference from HTML.
|
|
4
|
+
*/
|
|
5
|
+
export interface DiscoveredPugReference {
|
|
6
|
+
originalHref: string;
|
|
7
|
+
absolutePath: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Map of source pug file path to discovered pug references.
|
|
11
|
+
* This is populated during build and used by the builder to trigger sub-builds.
|
|
12
|
+
*/
|
|
13
|
+
export declare const discoveredPugReferences: Map<string, DiscoveredPugReference[]>;
|
|
14
|
+
/**
|
|
15
|
+
* Clear discovered pug references. Should be called before a new build.
|
|
16
|
+
*/
|
|
17
|
+
export declare function clearDiscoveredPugReferences(): void;
|
|
2
18
|
declare const plugin: esbuild.Plugin;
|
|
3
19
|
export default plugin;
|