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.
17 lines
387 B
TypeScript
17 lines
387 B
TypeScript
// DO NOT EDIT. This file is generated by `fresh`.
|
|
// This file SHOULD be checked into source version control.
|
|
// To update this file, run `fresh routes`.
|
|
|
|
import * as $0 from "./pages/[name].tsx";
|
|
import * as $1 from "./pages/index.tsx";
|
|
|
|
const routes = {
|
|
pages: {
|
|
"./pages/[name].tsx": $0,
|
|
"./pages/index.tsx": $1,
|
|
},
|
|
baseUrl: import.meta.url,
|
|
};
|
|
|
|
export default routes;
|