feature: bundle all modules (#9324)
This commit is contained in:
@@ -39,9 +39,7 @@ function buildLocalCommands(cli, isLocalProject) {
|
||||
}
|
||||
|
||||
try {
|
||||
const cmdPath = resolveCwd.silent(
|
||||
`@medusajs/medusa/dist/commands/${command}`
|
||||
)!
|
||||
const cmdPath = resolveCwd.silent(`@medusajs/medusa/commands/${command}`)!
|
||||
return require(cmdPath).default
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
|
||||
Reference in New Issue
Block a user