Skip to content

Commit

Permalink
feat(bindgen): Add itkConfig.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jan 18, 2023
1 parent 5928148 commit 59cc9b4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/bindgen/typescript-resources/itkConfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import version from 'itk-wasm'

const itkConfig = {
// Use the worker bundled by vite or webpack
pipelineWorkerUrl: null,
imageIOUrl: `https://cdn.jsdelivr.net/npm/itk-image-io@${version}`,
meshIOUrl: `https://cdn.jsdelivr.net/npm/itk-mesh-io@${version}`,
pipelinesUrl: '/pipelines'
}

export default itkConfig

0 comments on commit 59cc9b4

Please sign in to comment.