Files
AFFiNE-Mirror/apps/docs/entries.ts
2023-06-25 21:18:23 +08:00

22 lines
353 B
TypeScript

import { defineEntries } from 'waku/server';
export default defineEntries(
// getEntry
async id => {
switch (id) {
case 'App':
return import('./src/app.js') as any;
default:
return null;
}
},
// getBuildConfig
async () => {
return {
'/': {
elements: [['App', {}]],
},
};
}
);