Skip to content

Commit a93305c

Browse files
author
Alexis Girault
committed
Update to itk.js 12.3.1
1 parent 7c6bcd9 commit a93305c

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

examples/Dicom/.babelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
targets: {
55
browsers: ['last 2 versions'],
66
},
7+
corejs: 3,
8+
useBuiltIns: "usage",
79
}],
810
],
911
}

examples/Dicom/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
},
2323
"homepage": "https://github.com/InsightSoftwareConsortium/itk-js#readme",
2424
"dependencies": {
25+
"core-js": "^3.6.4",
2526
"curry": "^1.2.0",
2627
"dicom-parser": "^1.8.3",
2728
"expose-loader": "^0.7.5",
28-
"itk": "^9.5.0",
29-
"regenerator-runtime": "^0.13.3"
29+
"itk": "^12.3.1"
3030
},
3131
"devDependencies": {
32-
"@babel/core": "^7.2.0",
33-
"@babel/preset-env": "^7.2.0",
32+
"@babel/core": "^7.9.0",
33+
"@babel/preset-env": "^7.9.0",
3434
"babel-loader": "^8.0.4",
3535
"copy-webpack-plugin": "^4.5.1",
3636
"tap-spec": "^4.1.1",

examples/Dicom/src/parseDicomFiles.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import PromiseFileReader from 'promise-file-reader'
22
import dicomParser from 'dicom-parser'
33

4-
import "regenerator-runtime/runtime";
5-
64
import DICOM_TAG_DICT from './dicomTags'
75

86
function concatenate(resultConstructor, arrays) {

examples/Dicom/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ module.exports = {
3535
],
3636
performance: {
3737
maxAssetSize: 10000000
38-
}
38+
},
39+
devtool: 'source-map'
3940
}

0 commit comments

Comments
 (0)