Skip to content

Commit 56f9268

Browse files
committed
fix preact optimization issue
1 parent 3487711 commit 56f9268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/renderers/preact/src/preset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ export const resolvedReact = async (existing: any) => {
3535
}
3636
};
3737

38-
export const optimizeViteDeps = ['preact/compat/jsx-runtime', '@storybook/react-dom-shim/react-16'];
38+
export const optimizeViteDeps = ['preact/compat/jsx-runtime', '@storybook/react-dom-shim'];

0 commit comments

Comments
 (0)