@polylith/builder 0.2.6 → 0.2.8
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.
- package/App.js +4 -4
- package/package.json +2 -2
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.
|
|
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('
|
|
823
|
+
console.log(cc.set('fg_green', 'building...'));
|
|
824
824
|
}
|
|
825
825
|
|
|
826
826
|
if (event.code === 'BUNDLE_END') {
|
|
827
|
-
console.log(cc.set('
|
|
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.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "The polylith builder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/preset-env": "^7.16.11",
|
|
20
20
|
"@babel/preset-react": "^7.16.7",
|
|
21
|
-
"@ondohers/console-colors": "^0.1.
|
|
21
|
+
"@ondohers/console-colors": "^0.1.1",
|
|
22
22
|
"@rollup/plugin-babel": "^5.3.0",
|
|
23
23
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
24
24
|
"@rollup/plugin-json": "^5.0.2",
|