腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(29)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
由npx/node/npm执行的google闭包编译器
我正在尝试用google闭包编译器编译我的客户端js文件,它在java中运行得很好:但是,如果我试图通过节点或npx (如文档中的)进行相同的操作,则总是会得到相同的错误: npx
google-closure-compiler
--js=public\node_modules\
google-closure-compiler
\cli.js --js=publ
浏览 0
修改于2018-10-13
得票数 0
回答已采纳
1
回答
使用javascript类私有字段的google闭包编译器解析器错误
现在如果我们通过
google-closure-compiler
运行它 --workdir /home/node/app \ node:18 bash -c \ "npm i -g
google-closure-compiler
&&
google-closure-compiler
浏览 12
提问于2022-09-23
得票数 0
1
回答
使用google闭包将js文件编译成单个文件,而不是单个文件。
我正在使用
google-closure-compiler
和gulp来缩小我的angularjs文件。var closureCompiler = require('
google-closure-compiler
').gulp(); gulp.task('js-closure',
浏览 5
修改于2016-12-03
得票数 1
回答已采纳
1
回答
-bash:接近意外令牌的语法错误'(‘
我试图运行以下命令: java -jar -XX:-TieredCompilation node_modules/
google-closure-compiler
/compiler.jar --flagfilehome/ubuntu/santa-tracker-web/components/closure-library/closure/goog/base.js --externs=node_modules/
google-closure-compiler
浏览 0
提问于2019-11-13
得票数 0
回答已采纳
1
回答
谷歌闭包编译器构建给出错误未处理标志: outputManifest‘
下面是package.json: "angular-mocks": "^1.7.8", "
google-closure-compiler
node_modules/google-closure-compiler-js/jscomp.js:3971:46 at CompilerJS.run (/vagrant/so
浏览 16
提问于2019-10-22
得票数 0
1
回答
如何通过nodejs命令行使用google closure缩小所有css ans js文件
我已经使用npm提供的文档进行了执行 npx
google-closure-compiler
--js=my_program.js --js_output_file=out.js 让我知道如何对多个文件执行
浏览 41
提问于2020-11-06
得票数 1
1
回答
如何使用闭包编译器捆绑所有的js文件
下面是我的代码: const ClosureCompiler = require('
google-closure-compiler
').jsCompiler; const { writeFile }
浏览 19
修改于2019-06-10
得票数 0
1
回答
如何强制使用google-闭包编译器的本机版本?
我可以像这样导入闭包编译器:但这使用了java版本。
浏览 14
修改于2022-05-03
得票数 0
1
回答
使闭包编译器与Grunt或Gulp一起工作
对于Grunt我的Gruntfile.js:var closureCompiler = require('
google-closure-compiler
_flush (/<my pr
浏览 5
修改于2018-10-13
得票数 0
回答已采纳
1
回答
闭包-编译器没有使用&&将这条if语句扁平化为"guard“。
{ if (Math.random) { }}npx
google-closure-compiler
浏览 0
提问于2018-05-07
得票数 0
2
回答
google-闭包-编译器基本过程示例
我的代码:const ClosureCompiler = require('
google-closure-compiler
').jsCompiler; console.log(ClosureCompiler.CONTRIB_PATH
浏览 0
提问于2019-06-06
得票数 0
回答已采纳
2
回答
闭包编译器不编译ES6库
但我做了一个较小的模拟,以用作此问题的一个示例:export function main(str) {}
google-closure-compiler
浏览 2
提问于2019-03-31
得票数 2
回答已采纳
1
回答
Google闭包编译器不报告除以零。
接下来我已经运行了google闭包编译器:命令: java -jar node_modules\
google-closure-compiler
\compiler.jar -
浏览 2
修改于2020-06-20
得票数 1
回答已采纳
1
回答
错误- [JSC_UNDEFINED_VARIABLE]变量previousPage未声明-Google闭包编译器
但这似乎并没有解决这个问题: npx
google-closure-compiler
--js=app.js --js=pagination.js --compilation_level ADVANCED_OPTIMIZATIONS
浏览 19
提问于2019-12-04
得票数 0
回答已采纳
2
回答
每当杯表检测到文件更改时,打印新消息。
这是密码;var flatmap = require('gulp-flatmap
浏览 2
修改于2016-12-05
得票数 1
回答已采纳
1
回答
Angular 6包括google closure库
我已经申请了该应用程序可以编译和运行。
浏览 4
提问于2018-09-16
得票数 0
1
回答
共享填充在Google闭包编译器中的应用
它与NPM模块
google-closure-compiler
的以下配置很好地工作。
浏览 5
修改于2017-05-07
得票数 1
1
回答
为什么要将类getter转换为可枚举属性?
npx
google-closure-compiler
--js=script.js --js_output_file=out.js var $jscomp=$jscomp||{};$jscomp.scope
浏览 0
提问于2019-08-07
得票数 2
1
回答
Closure-编译器:向模糊变量添加前缀
代码示例: const ClosureCompiler = require('
google-closure-compiler
').jsCompiler; console.log(ClosureCompiler.CONTRIB_PATH
浏览 32
提问于2020-03-30
得票数 4
2
回答
使用gulp闭包编译器插件时的JSC_REDECLARED_VARIABLE_ERROR
const closureCompiler = require("
google-closure-compiler
").gulp(); gulp.task("js-compile", function
浏览 29
提问于2020-11-14
得票数 1
第 2 页
领券