In my case, i'm using loconotion as submodule and running it from project root folder.
So, given the following project structure:
.
├── loconotion
├── module-1
└── module-2
When loconotion is run from ., built assets would not include loconotion.css and loconotion.js