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

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2023-10-04 11:27:55 -04:00
1 parent 01d843f267
commit 28cec04ff4
2 files changed
+7 -2

No files matched your search

@@ -39,6 +39,12 @@ const config = {
amd: '@ohif/ui', amd: '@ohif/ui',
root: '@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: { module: {
@@ -20,8 +20,7 @@
"@ohif/core": "^{LATEST_OHIF_VERSION}" "@ohif/core": "^{LATEST_OHIF_VERSION}"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.13", "@babel/runtime": "^7.20.13"
"@ohif/mode-longitudinal": "^{LATEST_OHIF_VERSION}"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.21.4", "@babel/core": "^7.21.4",