mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
22 lines
353 B
TypeScript
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', {}]],
|
|
},
|
|
};
|
|
}
|
|
);
|