Skip to content

Commit 57cec65

Browse files
committed
fix: add exact import
1 parent 0e2f613 commit 57cec65

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

packages/react/runtime/test/browser/suspense.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
useComputed,
88
useSignalEffect,
99
useSignals,
10-
} from "@preact/signals-react/runtime";
10+
} from "@preact/signals-react-runtime";
1111
import {
1212
Root,
1313
createRoot,

vitest.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export default defineConfig({
1919
'@preact/signals-react': path.join(
2020
dirname, './packages/react/dist/signals.min.js'
2121
),
22+
'@preact/signals-react-runtime': path.join(
23+
dirname, './packages/react/runtime/dist/runtime.min.js'
24+
),
2225
'@preact/signals-react-utils': path.join(
2326
dirname, './packages/react/utils/utils.min.js'
2427
),
@@ -31,7 +34,7 @@ export default defineConfig({
3134
} : {}
3235
},
3336
plugins: [
34-
manglePlugin
37+
manglePlugin,
3538
],
3639
// TODO (43081j): stop faking node globals and sort out the transform
3740
// tests. Either run them in node, or somehow run babel in node but the

0 commit comments

Comments
 (0)