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

build.json 中怎么配置可以让__screenshots__中的图片不要打包成静态文件 #2235

Closed
wssgchungang opened this issue Jun 29, 2023 · 2 comments
Assignees
Labels
stale Stale / 无进展,即将关闭

Comments

@wssgchungang
Copy link

wssgchungang commented Jun 29, 2023

Describe the bug (required) / 详细描述 bug(必填)

用脚手架开发组件时,build.json 中怎么配置可以让__screenshots__中的图片不要打包成静态文件,想直接用base64的格式引入,现在打包完后图片会放在 build/lowcode/assets中,
image


@eternalsky
Copy link
Collaborator

这个是 loader 里根据图片尺寸自动判断的,如果想修改规则需要写一个 build-scripts 插件来修改 webpack 配置。

@eternalsky
Copy link
Collaborator

@eternalsky eternalsky added the stale Stale / 无进展,即将关闭 label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale / 无进展,即将关闭
Projects
None yet
Development

No branches or pull requests

2 participants