Module unification problem in production build


#1

I’m starting using module unification feature for new project. I have a problem using private components in production mode. It works good in development mode, but show me error message in production build:

Compile Error: category-form-modal is not a helper

My folders structure for this part:

src/ui/routes/admin/
├── categories
│   ├── -components
│   │   └── category-form-modal
│   │       ├── -components
│   │       │   └── category-field-form
│   │       │       ├── component.js
│   │       │       └── template.hbs
│   │       ├── component.js
│   │       └── template.hbs
│   ├── controller.js
│   ├── route.js
│   └── template.hbs
├── route.js
└── template.hbs

Any ideas why this problem happens in production build?