Skip to content

vite 模式下 hash: 'contenthash' 构建失败 #4915

Open
@yiescc

Description

@yiescc

背景:

  • 配置如下,构建的时候会产生错误 Error: "[contenthash]" is not a valid placeholder in "output.entryFileNames" pattern.
  vite: true,
  hash: 'contenthash',
  • 配置hash:true的时候构建正常

需求:

  • 按照文档提示,是可以使用contenthash的嘛?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions