google / google/closure-compiler

Closure Compiler API to support define option

Open
#791 3 comments 0 reactions 0 assignees View on GitHub
P3 webservice
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

Looks like currently there is no way to disable/remove debug code with Google Closure Compiler API usage, since it doesn't support `define` flag described here - https://developers.google.com/closure/compiler/docs/js-for-compiler (look for ENABLE_DEBUG variable).

The wiki (https://github.com/google/closure-compiler/wiki/Additional-Webservice-Options) doesn't clarify what is the purpose of `debug` flag there, but looks like it has some other meaning or not supported by API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.