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

ice打包构建时acejs插件依赖资源文件输出没有被归类处理,如何解决呢? #3841

Open
willem20170918 opened this issue Nov 19, 2020 · 2 comments
Assignees

Comments

@willem20170918
Copy link

willem20170918 commented Nov 19, 2020

问题:ice打包构建时acejs插件依赖资源文件没有被归类处理,如何解决呢?

期望:按需加载的acejs插件依赖资源打包时放到指定目录下。

项目真实场景:项目中使用了acejs编辑器插件,代码模块中使用了很细的按需加载(通过npm包import按需引入),但打包时发现在build下生成了20多个uuid32位命名的js文件,我想要ace-builds模块相关资源统一打包到指定文件夹中,请问如何处理?

提示:这些uuid.js文件内容目前发现都和ace-builds/src-noconflict/snippets/* 相关

demo地址:https://github.com/willem20170918/ice-acejs-demo.git

依赖版本:
ice.js: v1.11.1
"ace-builds": "^1.4.12",
"react-ace": "^9.2.0",

@imsobear imsobear self-assigned this Nov 19, 2020
@imsobear
Copy link
Collaborator

期望的结果是怎么样的?

@willem20170918
Copy link
Author

期望打包后的uuid.js文件都在可指定的文件夹下或者在js文件夹中,让输出目录整洁清晰

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

No branches or pull requests

2 participants