dataease-dm/core/core-frontend/config/pages.ts
2023-11-14 15:13:48 +08:00

14 lines
293 B
TypeScript

import path from 'path'
import { PAGES, ROOT_DIR } from './pagesConfig'
export default {
build: {
rollupOptions: {
// 多页支持
input: PAGES.reduce((map, { name }) => {
map[name] = path.resolve(ROOT_DIR, `${name}.html`)
return map
}, {})
}
}
}