@markless/bundler 0.2.2 → 0.3.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/README.md +1 -1
- package/dist/preload.d.ts +4 -4
- package/dist/preload.js +2 -2
- package/dist/rolldown-DAsY_7V1.js +4515 -0
- package/dist/rolldown.d.ts +11 -3
- package/dist/rolldown.js +3 -3
- package/dist/{source-module-C8W2THUI.js → source-module-BCEdLQvG.js} +362 -286
- package/dist/source-module-XFgOFX1c.d.ts +8 -0
- package/dist/{types-CzXV_ABj.d.ts → types-BuooJg32.d.ts} +47 -2
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1298 -115
- package/package.json +6 -6
- package/dist/rolldown-CpG_S-ZJ.js +0 -2554
- package/dist/source-module-BRb5P7wL.d.ts +0 -6
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ Markless build plugins for Rolldown and Vite. Used through
|
|
|
4
4
|
`@markless/core/vite` and `@markless/core/rolldown`; install `@markless/core`
|
|
5
5
|
instead unless you are integrating the plugins directly.
|
|
6
6
|
|
|
7
|
-
See the repository for documentation: https://github.com/
|
|
7
|
+
See the repository for documentation: https://github.com/compiled-run/markless
|
package/dist/preload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as MarklessBundleGraph } from "./types-
|
|
2
|
-
import {
|
|
1
|
+
import { o as MarklessBundleGraph } from "./types-BuooJg32.js";
|
|
2
|
+
import { a as symbolVirtualModuleSourceFile, r as prerenderWakeVirtualModuleSourceFile } from "./source-module-XFgOFX1c.js";
|
|
3
3
|
|
|
4
4
|
//#region src/build/preload-plan.d.ts
|
|
5
5
|
type ModulePreloadPlanInput = {
|
|
@@ -13,7 +13,7 @@ type ModulePreloadRoot = string | {
|
|
|
13
13
|
readonly name: string;
|
|
14
14
|
readonly priority?: ModulePreloadPriority;
|
|
15
15
|
readonly fetchPriority?: ModulePreloadFetchPriority;
|
|
16
|
-
readonly edges?: 'all' | 'dynamic-only';
|
|
16
|
+
readonly edges?: 'all' | 'dynamic-only' | 'dependencies-only';
|
|
17
17
|
};
|
|
18
18
|
type ModulePreloadPriority = 'high' | 'auto' | 'low';
|
|
19
19
|
type ModulePreloadFetchPriority = 'high' | 'auto' | 'low';
|
|
@@ -76,4 +76,4 @@ type ModulePreloadLink = ModulePreloadExistingLink & {
|
|
|
76
76
|
};
|
|
77
77
|
declare function preloadLazySymbolModules(input: PreloadLazySymbolModulesInput): AppendedModulePreloads;
|
|
78
78
|
//#endregion
|
|
79
|
-
export { type AppendedModulePreloads, type LazySymbolPreloadView, type MarklessBundleGraph, type ModulePreloadFetchPriority, type ModulePreloadPlanEntry, type ModulePreloadPlanInput, type ModulePreloadPriority, type ModulePreloadRoot, type PreloadLazySymbolModulesInput, planModulePreloadUrls, planModulePreloads, preloadLazySymbolModules, symbolVirtualModuleSourceFile };
|
|
79
|
+
export { type AppendedModulePreloads, type LazySymbolPreloadView, type MarklessBundleGraph, type ModulePreloadFetchPriority, type ModulePreloadPlanEntry, type ModulePreloadPlanInput, type ModulePreloadPriority, type ModulePreloadRoot, type PreloadLazySymbolModulesInput, planModulePreloadUrls, planModulePreloads, preloadLazySymbolModules, prerenderWakeVirtualModuleSourceFile, symbolVirtualModuleSourceFile };
|
package/dist/preload.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as planModulePreloadUrls, c as prerenderWakeVirtualModuleSourceFile, m as symbolVirtualModuleSourceFile, w as planModulePreloads } from "./source-module-BCEdLQvG.js";
|
|
2
2
|
//#region src/build/module-preload-dom.ts
|
|
3
3
|
const PRIORITY_RANK = {
|
|
4
4
|
high: 2,
|
|
@@ -72,4 +72,4 @@ function rememberHref(seen, href, baseURI) {
|
|
|
72
72
|
if (baseURI) seen.add(new URL(href, baseURI).href);
|
|
73
73
|
}
|
|
74
74
|
//#endregion
|
|
75
|
-
export { planModulePreloadUrls, planModulePreloads, preloadLazySymbolModules, symbolVirtualModuleSourceFile };
|
|
75
|
+
export { planModulePreloadUrls, planModulePreloads, preloadLazySymbolModules, prerenderWakeVirtualModuleSourceFile, symbolVirtualModuleSourceFile };
|