You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Customers who use Spartacus (libraries) might have a disadvantage of not having sources available during development. We like to make the Spartacus sources available in the customers IDE to improve the developer experience.
The typescript compiler made an option available to generate declaration maps (--declarationMap), which is solving this problem:
These map files should be generated and published in as part of the Spartacus packages.
I've done a quick test on this, and so far I've not been able to generate the declaration maps. We're getting complains when specifying the declarationMap in the tsconfig about missing declaration or composite. If we try to set these flags, we're getting into other issues. Long story short, we need a dev who can investigate.
The text was updated successfully, but these errors were encountered:
The ng-packagr issue has been closed with release 10.0.0-rc.2. We need to confirm if this enables declaration maps for Spartacus libs.
@dunqan would you mind checking if we already can enable this? i'm not sure if it can be used as the ng-packagr lib is not made final yet. There's a angular-cli ticket as well though.
Customers who use Spartacus (libraries) might have a disadvantage of not having sources available during development. We like to make the Spartacus sources available in the customers IDE to improve the developer experience.
The typescript compiler made an option available to generate declaration maps (
--declarationMap
), which is solving this problem:These map files should be generated and published in as part of the Spartacus packages.
I've done a quick test on this, and so far I've not been able to generate the declaration maps. We're getting complains when specifying the
declarationMap
in the tsconfig about missingdeclaration
orcomposite
. If we try to set these flags, we're getting into other issues. Long story short, we need a dev who can investigate.The text was updated successfully, but these errors were encountered: