fix(cli): Add npm packaged mode not working (#3689)

This commit is contained in:
Joe Boccanfuso 2023-10-04 11:27:55 -04:00 committed by GitHub
parent 01d843f267
commit 28cec04ff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,12 @@ const config = {
amd: '@ohif/ui',
root: '@ohif/ui',
},
'@ohif/mode-longitudinal': {
commonjs2: '@ohif/mode-longitudinal',
commonjs: '@ohif/mode-longitudinal',
amd: '@ohif/mode-longitudinal',
root: '@ohif/mode-longitudinal',
}
},
],
module: {

View File

@ -20,8 +20,7 @@
"@ohif/core": "^{LATEST_OHIF_VERSION}"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@ohif/mode-longitudinal": "^{LATEST_OHIF_VERSION}"
"@babel/runtime": "^7.20.13"
},
"devDependencies": {
"@babel/core": "^7.21.4",