Skip to content

Commit a6d0124

Browse files
committed
switch to esm module import
1 parent 64e7c0b commit a6d0124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Scene, PerspectiveCamera, WebGLRenderer, Color, SphereGeometry, TorusKnotGeometry, TextBufferGeometry } from "three";
22
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
3-
import { createSculptureWithGeometry, sculptToThreeJSMaterial } from "shader-park-core";
3+
import { createSculptureWithGeometry, sculptToThreeJSMaterial } from "/node_modules/shader-park-core/dist/shader-park-core.esm.js";
44
import { spCode } from "./src/spCode.js";
55
import { initUIInteractions } from "./src/ui.js";
66
import { createEditor } from "./src/editor.js";

0 commit comments

Comments
 (0)