Permalink
Browse files

fix(requirejs/systemjs): fix duplicate index.html

closes #898
  • Loading branch information...
JeroenVinke committed Jul 19, 2018
1 parent c40b3d9 commit 8bac73d48a1e755132d758d0f54f9b98aa0d07c1
Showing with 5 additions and 2 deletions.
  1. +5 −2 lib/commands/new/buildsystems/cli/loaders/require.js
@@ -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.