5htp-core 0.4.3-1 → 0.4.3-2
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp-core",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.4.3-
|
|
4
|
+
"version": "0.4.3-2",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp-core.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,8 +36,10 @@ import ClientResponse from './response';
|
|
|
36
36
|
import ClientPage from './response/page';
|
|
37
37
|
|
|
38
38
|
// Routes (import __register)
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
// We exclude files starting wiht uppercase, as they're considered as components
|
|
40
|
+
// WARN: The routes babel plugin must be updated with the glob path
|
|
41
|
+
import * as coreRoutes from '@client/pages/**/([a-z0-9]*).tsx';
|
|
42
|
+
import * as appRoutes from '@/client/pages/**/([a-z0-9]*).tsx';
|
|
41
43
|
|
|
42
44
|
/*----------------------------------
|
|
43
45
|
- CONFIG
|
|
@@ -195,7 +197,7 @@ export default class ClientRouter<
|
|
|
195
197
|
|
|
196
198
|
if (loaders[ssrRoute.chunk] === undefined) {
|
|
197
199
|
console.error("Chunk id not found for ssr route:", ssrRoute, "Searched in:", loaders);
|
|
198
|
-
|
|
200
|
+
continue;
|
|
199
201
|
}
|
|
200
202
|
|
|
201
203
|
// TODO: Fix types
|