本文介绍了是否有一种方法来构建版本的CKEditor未经修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从克隆了源代码库,我想将所有内容都整合到一个文件,但不希望此文件被uglified。有没有任何设置,我需要调整在构建文件以防止丑陋?我尝试在项目文件中搜索 uglify
或 minify
,但没有找到任何东西。
I've cloned the source repo from here, and I want to build everything into one file, but don't want this file to be uglified. Is there any settings I need to tweak in the build files to prevent uglification? I've tried searching for uglify
or minify
in the project files but have found nothing.
推荐答案
以下构建属性可防止缩小:
The following build property prevents minification:
--leave-js-unminified
可以添加到 dev / build.sh
config here:
It could be added to the dev/build.sh
config here:
java -jar ckbuilder/$CKBUILDER_VERSION/ckbuilder.jar --build ../../ release $JAVA_ARGS --version="$VERSION" --revision="$REVISION" --overwrite --leave-js-unminified
这篇关于是否有一种方法来构建版本的CKEditor未经修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!