Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
7 月 24 日 21:36 已编辑
修复了 GitHub Action 持续构建失败的问题:
原本已经有了 UglifyJS(
tools/build.js
)对admin/src/js/
的 Javascript 文件做压缩 ,所以admin/js/jquery.js
这个文件已经是压缩过的。然后在打包流程时被 YUI Compressor 2.8.2 再次压缩,结果有以上报错。根据报错位置定位发现一个没有被引号括起来的float
,在原本的jquery.js
(2.1.1-rc2) 中float
是被括起来的,应该是 UglifyJS 把引号去掉了。这里有相应的 StackOverflow 提问。修改了
Makefile
使 YUI Compressor 报错时依然继续打包。