Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启hash以后控制台会找不到data-loader报错 #6930

Open
oneQiu opened this issue Jun 28, 2024 · 3 comments
Open

开启hash以后控制台会找不到data-loader报错 #6930

oneQiu opened this issue Jun 28, 2024 · 3 comments
Assignees
Labels

Comments

@oneQiu
Copy link

oneQiu commented Jun 28, 2024

Describe the bug

pnpm run dev的时候会生成loader文件,但是带hash的,但是浏览器访问的是不带hash的,就会导致404
image
image

Expected behavior

能读取到data-loader-hash.js

Actual behavior

No response

Version of ice.js

v3.3.0

Content of build.json or ice.config.mts

No response

Additional context

No response

@oneQiu oneQiu added the bug label Jun 28, 2024
@ClarkXia
Copy link
Collaborator

我们修复下,目前 data-loader 配置写死在 assets mainfest 中了

@ClarkXia ClarkXia self-assigned this Jun 28, 2024
@ClarkXia
Copy link
Collaborator

ClarkXia commented Jul 1, 2024

@oneQiu 麻烦提供下目前的工程配置信息 ice.config.mts 中的内容

@ClarkXia
Copy link
Collaborator

ClarkXia commented Jul 8, 2024

确认是使用 speedup 模式问题,计划本周版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants