opentiny / opentiny/tiny-engine

🐛 [Bug]: 执行pnpm splitMaterials和pnpm buildMaterials前后物料中的内容不一样

Open
#1,555 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
2.8k
Forks
476
Avg merge
17h 35m
Merged PRs (30d)
1

Description

Environment

浏览器

Version

18.18.0

Version

tiny-engine2.5

Link to minimal reproduction

Step to reproduce

执行之前是

执行之后是

原因是因为执行命令之后bundle.json中snippets属性丢失了内容

What is expected

执行命令前后物料是一样 的

What is actually happening

No response

What is your project name

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run pnpm splitMaterials and pnpm buildMaterials, then compare bundle.json before and after, focusing on the snippets property. Trace the scripts invoked by those commands to identify where the content is lost; done means the material content, including snippets, remains unchanged across both commands.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.