Using new c8ycli to build legacy AngularJS application

Hi there,

is there a way to use the new cli tool to build a legacy AngularJS application?
I’ve tried to do it with the command “c8ycli build ./cumulocity.json” and it already starts building the application, but then I got the error:

“ERROR in Entry module not found: Error: Can’t resolve ‘@c8y/cli/dist/app-bootstrap’ in”

The defined cumulocity.json is the application manifest of the “old” project structure with all plugin imports. The plugins itself are in the folder plugins with their plugin manifest as described here:

https://cumulocity.com/guides/web/web-sdk-for-plugins/#concepts

It’s not about building a hybrid application, it is still a pure AngularJS application, but I would love to use ES6 Support with import an export dependencies in our legacy application.

Best regards,
Nico

Hi Nico,

can you provide us the source code of your app and let us know on which tenant you are doing this?

best regards
Michael