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

自定义webgl-jsbuild构建流程(过滤丶自定义路径丶自定义内容) #57

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

throw-out
Copy link
Contributor

@throw-out throw-out commented Mar 6, 2024

自定义webgl-jsbuild构建流程(过滤丶自定义路径丶自定义内容)

throw-out and others added 6 commits March 6, 2024 11:32
在通过脚本调用webgl-jsbuild构建时, 可以自定义脚本内容. 这样就无需将output设置为Assets目录下(在打包时不再需要删除冗余资源), 也可以对脚本路径(resourceName)做更多个性化处理.
1. 通过标签配置来自定义构建(自定义脚本内容丶过滤丶自定义资源路径)
2. 拆分工具方法为单独的WebGLUtils脚本
3. 添加相应的使用示例
@throw-out throw-out changed the title 通过脚本调用webgl-jsbuild时可自定义脚本内容 自定义webgl-jsbuild构建流程(过滤丶自定义路径丶自定义内容) Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant