Description
Describe the bug
build: {
rollupOptions: {
// 输出配置
output: {
advancedChunks: {
groups: [
{
name: "element-render-vendor",
test: //node_modules/@ouryun/ouryun-plus/dist/es/node_modules/.pnpm/element-plus*/,
priority: 100,
},
{
name: "echarts-render-vendor",
test: //node_modules/@ouryun/ouryun-plus/dist/es/node_modules/.pnpm/echarts*/,
},
{
name: "xlsx-render-vendor",
test: //node_modules/@ouryun/ouryun-plus/dist/es/node_modules/.pnpm/xlsx*/,
},
{
name: "ouryun-render-components",
test: //node_modules/@ouryun/ouryun-plus/dist/es/components/,
},
],
},
// 输出的文件自定义命名
chunkFileNames: static/js/[name].[hash]${Timestamp}.js
,
entryFileNames: static/js/[name].[hash]${Timestamp}.js
,
assetFileNames: static/[ext]/[name].[hash]${Timestamp}.[ext]
,
},
},
},
Reproduction
1
Steps to reproduce
No response
System Info
1
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs and the Rolldown-related guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.