Skip to content

Commit

Permalink
fix(project-template): paths should be relatively from src
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Apr 1, 2017
1 parent 625929c commit b23c8dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/commands/new/project-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ exports.ProjectTemplate = class {

this.model.paths = Object.assign(this.model.paths, {
root: appRoot,
resources: this.resources.calculateRelativePath(this.root),
elements: this.elements.calculateRelativePath(this.root),
attributes: this.attributes.calculateRelativePath(this.root),
valueConverters: this.valueConverters.calculateRelativePath(this.root),
bindingBehaviors: this.bindingBehaviors.calculateRelativePath(this.root)
resources: this.resources.calculateRelativePath(this.src),
elements: this.elements.calculateRelativePath(this.src),
attributes: this.attributes.calculateRelativePath(this.src),
valueConverters: this.valueConverters.calculateRelativePath(this.src),
bindingBehaviors: this.bindingBehaviors.calculateRelativePath(this.src)
});

this.model.transpiler.source = path.posix.join(appRoot, '**/*' + this.model.transpiler.fileExtension);
Expand Down

0 comments on commit b23c8dd

Please sign in to comment.