We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4550eb9 commit cc01752Copy full SHA for cc01752
1 file changed
vite.config.ts
@@ -60,4 +60,10 @@ const createIndex = () => ({
60
61
export default defineConfig({
62
plugins: [createIndex()],
63
+ resolve: {
64
+ // Workspaces install their own copy of three; without dedupe the dev
65
+ // server serves two or three instances and three.js prints the
66
+ // "Multiple instances of Three.js being imported" warning.
67
+ dedupe: ["three"],
68
+ },
69
});
0 commit comments