Skip to content

Commit

Permalink
fix(requirejs/systemjs): fix duplicate index.html
Browse files Browse the repository at this point in the history
closes #898
  • Loading branch information
JeroenVinke committed Jul 19, 2018
1 parent c40b3d9 commit 8bac73d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/commands/new/buildsystems/cli/loaders/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ module.exports = function(project, options) {
.addToClientDependencies(
'requirejs',
'text'
)
.addToContent(ProjectItem.resource('index.html', 'content/require.index.html'));
);

if (model.platform.id === 'web') {
project.addToContent(ProjectItem.resource('index.html', 'content/require.index.html'));
}
};

0 comments on commit 8bac73d

Please sign in to comment.