@mapl/web 0.2.0-alpha.4 → 0.2.0-alpha.5
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/README.md +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -67,13 +67,13 @@ writeFileSync(
|
|
|
67
67
|
`import 'runtime-compiler/hydrate-loader';
|
|
68
68
|
|
|
69
69
|
import app from './main.js';
|
|
70
|
-
import hydrateRouter from '
|
|
70
|
+
import hydrateRouter from '@mapl/web/compiler/aot';
|
|
71
71
|
hydrateRouter(app);
|
|
72
72
|
|
|
73
|
-
import { getDependency } from 'runtime-compiler';
|
|
74
73
|
import { hydrate } from 'runtime-compiler/hydrate';
|
|
75
74
|
(${evaluateToString()})(...hydrate());
|
|
76
75
|
|
|
76
|
+
import { getDependency } from 'runtime-compiler';
|
|
77
77
|
export default {
|
|
78
78
|
fetch: getDependency(${HANDLER})
|
|
79
79
|
};`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapl/web",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.5",
|
|
4
4
|
"description": "A compiled web framework for all runtimes",
|
|
5
5
|
"keywords": ["fast", "lightweight", "cross-runtime", "framework", "web", "backend"],
|
|
6
6
|
"repository": {
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"secure-headers": "^0.0.6"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
|
+
"./core/middleware": "./core/middleware.js",
|
|
24
25
|
"./constants": "./constants.js",
|
|
25
|
-
"./core/handler": "./core/handler.js",
|
|
26
|
-
".": "./index.js",
|
|
27
26
|
"./core/context": "./core/context.js",
|
|
28
27
|
"./core": "./core/index.js",
|
|
29
|
-
"./
|
|
28
|
+
"./utils/secure-headers": "./utils/secure-headers.js",
|
|
29
|
+
"./core/handler": "./core/handler.js",
|
|
30
30
|
"./utils/cors": "./utils/cors.js",
|
|
31
|
+
"./core/utils": "./core/utils.js",
|
|
31
32
|
"./utils/headers": "./utils/headers.js",
|
|
32
|
-
"./utils/secure-headers": "./utils/secure-headers.js",
|
|
33
33
|
"./compiler/jit": "./compiler/jit.js",
|
|
34
|
-
"
|
|
35
|
-
"./
|
|
34
|
+
".": "./index.js",
|
|
35
|
+
"./compiler/aot": "./compiler/aot.js"
|
|
36
36
|
}
|
|
37
37
|
}
|