diff --git a/platform/cli/templates/mode/.webpack/webpack.prod.js b/platform/cli/templates/mode/.webpack/webpack.prod.js index 163392a699a..d0829f3c6a2 100644 --- a/platform/cli/templates/mode/.webpack/webpack.prod.js +++ b/platform/cli/templates/mode/.webpack/webpack.prod.js @@ -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: { diff --git a/platform/cli/templates/mode/dependencies.json b/platform/cli/templates/mode/dependencies.json index 9df4547b579..4270837d9fc 100644 --- a/platform/cli/templates/mode/dependencies.json +++ b/platform/cli/templates/mode/dependencies.json @@ -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",