entries

    • 多页面入口配置,相当于html的集合
    • 类型: {[entryFilename: string]: HtmlType}
    • HtmlType的配置参考
    emp-config.js
    import {defineConfig} from '@empjs/cli'
    export default defineConfig(store => {
      return {
        entries: {
          'info.ts': {
            title: 'Info Page',
          },
        //基于`src`的文件路径
          'work/index.ts': {
            title: 'work Page',
             //基于项目根目录的文件路径
            template: 'src/work/index.html',
          },
        },
      }
    })