前端大屏

LiuShu_0203 cb006c4a1f 细节优化 1 月之前
.husky a71cd37125 大屏代码上传 5 月之前
.vite f562f420c8 细节修改 3 月之前
mock a71cd37125 大屏代码上传 5 月之前
src cb006c4a1f 细节优化 1 月之前
test a71cd37125 大屏代码上传 5 月之前
types f562f420c8 细节修改 3 月之前
.commitlintrc.js a71cd37125 大屏代码上传 5 月之前
.env.development a71cd37125 大屏代码上传 5 月之前
.env.production a71cd37125 大屏代码上传 5 月之前
.eslintignore a71cd37125 大屏代码上传 5 月之前
.eslintrc-auto-import.json 24a81d9d3e 布局比例修改以及添加tab页面切换动画效果等其他细节修改 3 月之前
.eslintrc.js a71cd37125 大屏代码上传 5 月之前
.gitignore a71cd37125 大屏代码上传 5 月之前
.prettierignore a71cd37125 大屏代码上传 5 月之前
.prettierrc.js a71cd37125 大屏代码上传 5 月之前
.stylelintignore a71cd37125 大屏代码上传 5 月之前
.stylelintrc.js a71cd37125 大屏代码上传 5 月之前
README.md 578eebb7e8 大屏代码提交 5 月之前
index.html e074837e8b 修改细节 3 月之前
package-lock.json a71cd37125 大屏代码上传 5 月之前
package.json a71cd37125 大屏代码上传 5 月之前
pnpm-lock.yaml a71cd37125 大屏代码上传 5 月之前
stats.html a71cd37125 大屏代码上传 5 月之前
tsconfig.json a71cd37125 大屏代码上传 5 月之前
vite.config.ts 09aede9f88 配置代码提交 5 月之前
yarn.lock c04521d544 xxx 5 月之前

README.md

rollup里面的配置 // html2canvas 只有极少数的页面使用了 所以要单独处理一下 第三方库分类打包 if (id.includes('html2canvas')) { return 'html2canvas'; }

// 打包入口文件 根目录下的 index.html // 也就是项目从哪个文件开始打包 input: { index: fileURLToPath(new URL('./index.html', import.meta.url)) }, // external: ['moment', 'video.js', 'jspdf', 'xlsx', 'echart'], // plugins: [visualizer({ open: true })], //globals treeshake: { preset: 'recommended', manualPureFunctions: ['console.log'] }, // experimentalLogSideEffects: true, output: { experimentalMinChunkSize: 20 * 1024 // manualChunks: (id: string) => { // html2canvas 只有极少数的页面使用了 所以要单独处理一下 第三方库分类打包 if (id.includes('html2canvas')) { return 'html2canvas'; } // if (id.includes('node_modules')) { // return 'vendor'; // } // return 'index'; // } } // experimentalLogSideEffects: true, treeshake: { preset: 'recommended', manualPureFunctions: ['console.log'] },