Commit 6b3f117c authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] extensions don't need html boilerplate

parent 7a229875
......@@ -166,11 +166,13 @@ module.exports = yeoman.generators.Base.extend((function() {
};
Generator.writeHtml = function() {
this.fs.copyTpl(
this.templatePath('_index.html'),
this.destinationPath('index.html'),
answers
);
if (projectType === 'standalone') {
this.fs.copyTpl(
this.templatePath('_index.html'),
this.destinationPath('index.html'),
answers
);
}
};
Generator.writeSass = function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment