@polylith/builder 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/App.js +4 -4
  2. package/package.json +1 -1
package/App.js CHANGED
@@ -132,8 +132,8 @@ export default class App {
132
132
  }
133
133
 
134
134
  async sendIndex(res) {
135
- var indexPath = path.posix.join(this.root, this.htmlTemplate.source);
136
- res.sendFile(indexPath)
135
+ var indexPath = path.posix.join(this.root, this.htmlTemplate.destination);
136
+ res.sendFile(indexPath);
137
137
  }
138
138
 
139
139
  /**
@@ -820,11 +820,11 @@ export default class App {
820
820
  }
821
821
 
822
822
  if (event.code === 'BUNDLE_START') {
823
- console.log(cc.set('fg_blue', 'building...'));
823
+ console.log(cc.set('fg_green', 'building...'));
824
824
  }
825
825
 
826
826
  if (event.code === 'BUNDLE_END') {
827
- console.log(cc.set('fg_blue', 'build complete'))
827
+ console.log(cc.set('fg_green', 'build complete'))
828
828
  }
829
829
  }.bind(this));
830
830
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",