@marko/vite 2.2.12 → 2.2.13
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/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -83,12 +83,7 @@ function markoPlugin(opts = {}) {
|
|
|
83
83
|
supportsTopLevelAwait: true,
|
|
84
84
|
supportsExportNamespaceFrom: true
|
|
85
85
|
}, (_a = opts.babelConfig) == null ? void 0 : _a.caller)
|
|
86
|
-
})
|
|
87
|
-
};
|
|
88
|
-
const ssrConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
89
|
-
output: "html"
|
|
90
|
-
});
|
|
91
|
-
const domConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
86
|
+
}),
|
|
92
87
|
resolveVirtualDependency(from, dep) {
|
|
93
88
|
const query = `${virtualFileQuery}&id=${encodeURIComponent(dep.virtualPath)}`;
|
|
94
89
|
const id = normalizePath(from) + query;
|
|
@@ -100,7 +95,12 @@ function markoPlugin(opts = {}) {
|
|
|
100
95
|
}
|
|
101
96
|
virtualFiles.set(id, dep);
|
|
102
97
|
return `./${import_path.default.basename(from) + query}`;
|
|
103
|
-
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
const ssrConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
101
|
+
output: "html"
|
|
102
|
+
});
|
|
103
|
+
const domConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
104
104
|
output: "dom"
|
|
105
105
|
});
|
|
106
106
|
const hydrateConfig = __spreadProps(__spreadValues({}, domConfig), {
|
package/dist/index.mjs
CHANGED
|
@@ -46,12 +46,7 @@ function markoPlugin(opts = {}) {
|
|
|
46
46
|
supportsTopLevelAwait: true,
|
|
47
47
|
supportsExportNamespaceFrom: true
|
|
48
48
|
}, (_a = opts.babelConfig) == null ? void 0 : _a.caller)
|
|
49
|
-
})
|
|
50
|
-
};
|
|
51
|
-
const ssrConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
52
|
-
output: "html"
|
|
53
|
-
});
|
|
54
|
-
const domConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
49
|
+
}),
|
|
55
50
|
resolveVirtualDependency(from, dep) {
|
|
56
51
|
const query = `${virtualFileQuery}&id=${encodeURIComponent(dep.virtualPath)}`;
|
|
57
52
|
const id = normalizePath(from) + query;
|
|
@@ -63,7 +58,12 @@ function markoPlugin(opts = {}) {
|
|
|
63
58
|
}
|
|
64
59
|
virtualFiles.set(id, dep);
|
|
65
60
|
return `./${path.basename(from) + query}`;
|
|
66
|
-
}
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
const ssrConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
64
|
+
output: "html"
|
|
65
|
+
});
|
|
66
|
+
const domConfig = __spreadProps(__spreadValues({}, baseConfig), {
|
|
67
67
|
output: "dom"
|
|
68
68
|
});
|
|
69
69
|
const hydrateConfig = __spreadProps(__spreadValues({}, domConfig), {
|
package/package.json
CHANGED