문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
javascript:performance:closurecompiler [2014/08/25 14:50] kwon37xi [Closure Compiler API] |
javascript:performance:closurecompiler [2015/06/18 11:19] (현재) kwon37xi [설치 사용] |
||
|---|---|---|---|
| 줄 27: | 줄 27: | ||
| * [[https:// | * [[https:// | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| * 적용< | * 적용< | ||
| 줄 33: | 줄 33: | ||
| </ | </ | ||
| * Options | * Options | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| ===== Ant 연동 ===== | ===== Ant 연동 ===== | ||
| 줄 91: | 줄 91: | ||
| public class BatchJsMinify { | public class BatchJsMinify { | ||
| private static final String[] EXCLUDE_PATTERNS = { " | private static final String[] EXCLUDE_PATTERNS = { " | ||
| - | private static final CompilationLevel | + | private static final CompilationLevel |
| private String srcDirName; | private String srcDirName; | ||
| 줄 121: | 줄 121: | ||
| warningLevel.setOptionsForWarningLevel(options); | warningLevel.setOptionsForWarningLevel(options); | ||
| + | DEFAULT_COMPILATION_LEVEL.setOptionsForCompilationLevel(options); | ||
| final List< | final List< | ||