@marko/vite 5.3.4 → 5.3.6
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.mjs +5 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1005,8 +1005,7 @@ function markoPlugin(opts = {}) {
|
|
|
1005
1005
|
test.deps.optimizer ??= {};
|
|
1006
1006
|
test.deps.optimizer.web ??= {};
|
|
1007
1007
|
test.deps.optimizer.web.enabled ??= true;
|
|
1008
|
-
test.
|
|
1009
|
-
test.deps.optimizer.client.enabled ??= true;
|
|
1008
|
+
(test.execArgv ||= []).push("-C", "browser");
|
|
1010
1009
|
}
|
|
1011
1010
|
}
|
|
1012
1011
|
if (!registeredTagLib) {
|
|
@@ -1656,7 +1655,10 @@ function getKnownTemplates(cwd) {
|
|
|
1656
1655
|
return knownTemplates;
|
|
1657
1656
|
}
|
|
1658
1657
|
function toSourceMap(map) {
|
|
1659
|
-
return map ? {
|
|
1658
|
+
return map ? {
|
|
1659
|
+
names: map.names,
|
|
1660
|
+
mappings: map.mappings
|
|
1661
|
+
} : null;
|
|
1660
1662
|
}
|
|
1661
1663
|
export {
|
|
1662
1664
|
markoPlugin as default
|