@webqit/webflo 0.20.58 → 0.20.59
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/package.json
CHANGED
|
@@ -138,6 +138,7 @@ export class WebfloServer extends AppRuntime {
|
|
|
138
138
|
if (revalidate
|
|
139
139
|
|| !this.#buildContexts[realm]) {
|
|
140
140
|
await this.#buildContexts[realm]?.dispose();
|
|
141
|
+
console.info('Building routes...');
|
|
141
142
|
|
|
142
143
|
const entryPoints = await $glob(`${routeDirs[realm]}/**/handler{,.${realm}}.js`, { absolute: true })
|
|
143
144
|
.then((files) => files.map((f) => f.replace(/\\/g, '/')));
|
|
@@ -172,7 +173,10 @@ export class WebfloServer extends AppRuntime {
|
|
|
172
173
|
let buildResult;
|
|
173
174
|
try {
|
|
174
175
|
buildResult = await this.#buildContexts[realm].rebuild();
|
|
175
|
-
} catch (e) {
|
|
176
|
+
} catch (e) {
|
|
177
|
+
console.error(e);
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
176
180
|
|
|
177
181
|
moduleGraph = { ...moduleGraph, ...buildResult.metafile.inputs };
|
|
178
182
|
this.#buildOutputs[realm] = Object.fromEntries(buildResult.outputFiles?.map((f) => {
|