Commit Graph
7 Commits
Author SHA1 Message Date
Luca Casonato 41307a5ac8 perf: add loading optimization with modulepreload (#15)
This commit aims to speed up loading of chunked modules using
the link rel=modulepreload directive.
2021-06-02 12:55:30 +02:00
Luca Casonato ff69a0abdf feat: add api routes (#11)
This commit adds API routes. These routes are located in the
./pages/api/ directory. Each file in there will have it's default
export invoked for HTTP calls to the corresponding route.
2021-06-02 00:15:00 +02:00
Luca Casonato 31dbd99bea chore: improve bundling + refactor router (#10)
This commit changes how bundling works, by bundling all routes at once.
Static JS assets are now cached immutably.

Additionally this PR completly refactors how the router works to make it
more modular. This allows users to opt out of the default oak server,
and instead create their own.
2021-06-01 23:19:33 +02:00
Luca Casonato cfb99ef326 readme 2021-05-08 12:51:44 +02:00
Luca Casonato 423f349f47 even more other esbuild 2021-05-08 02:59:23 +02:00
Luca Casonato 0e82dcb8b9 logs 2021-05-08 02:31:21 +02:00
Luca Casonato 6ecdf2ed73 init 2021-05-08 02:07:24 +02:00