问题
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.
回答1:
The following build property prevents minification:
--leave-js-unminified
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
来源:https://stackoverflow.com/questions/36748604/is-there-a-way-to-build-release-version-of-ckeditor-unmodified