Fix view transitions with client:only components

This commit is contained in:
Martin Trapp 2023-10-02 18:02:41 +02:00
parent 84d1f05964
commit 20c1b3b0d0

View file

@ -69,12 +69,6 @@ export async function compile({
});
}
if (viteConfig.mode === 'development') {
transformResult.clientOnlyComponents.forEach((component) => {
transformResult.code += `\nimport '${component.specifier}';\n`;
});
}
handleCompileResultErrors(transformResult, cssTransformErrors);
return {