Skip to content

Commit de839e3

Browse files
committedNov 17, 2022
fix(examples): use ESM package in examples
1 parent 63762f7 commit de839e3

File tree

138 files changed

+1373
-1369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1373
-1369
lines changed
 

‎.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ module.exports = {
5353
'vtk.js/Utilities': path.resolve(__dirname, 'Utilities'),
5454
'vtk.js/Sources': path.resolve(__dirname, 'Sources'),
5555
'vtk.js': path.resolve(__dirname, 'Sources'),
56+
'@kitware/vtk.js': path.resolve(__dirname, 'Sources'),
5657
},
5758
},
5859
},

‎Documentation/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ module.exports = {
7777
],
7878
alias: [
7979
"'vtk.js/Sources': `${rootPath}/dist/esm`,",
80+
"'@kitware/vtk.js': `${rootPath}/dist/esm`,",
8081
"'vtk.js': `${rootPath}`,",
8182
],
8283
},

0 commit comments

Comments
 (0)
Please sign in to comment.