Skip to content

Commit

Permalink
fix(generators): app platform
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Oct 7, 2019
1 parent ef2d3d0 commit 9a99c6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/xplat/src/utils/xplat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ export namespace XplatHelpers {
if (supportedFrameworks.includes(framework)) {
if (platforms.length) {
for (const platform of platforms) {
if (framework === 'angular') {
if (framework === 'angular' && (!isApp || (isApp && platform === 'web'))) {
// Angular generators start with @nstudio/angular and branch from there
// Exception: if app generator and with web platform, also use this configuration
const packageName = `@nstudio/angular`;
devDependencies[packageName] = xplatVersion;
// install platform dependencies
Expand Down

0 comments on commit 9a99c6e

Please sign in to comment.