Skip to content

Commit f6a125d

Browse files
committed
fix(itkConfig.ts): Import from './browser/index.js'
Otherwise, this ends up loading './index.js', which brings in Node.js, which causes issues for Vite / Rollup when bundling for the browser. Closes #654
1 parent cdf86af commit f6a125d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/itkConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { version } from './index.js'
1+
import { version } from './browser/index.js'
22

33
const itkConfig = {
44
webWorkersUrl: undefined,

0 commit comments

Comments
 (0)