File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 166
166
:emit-constants :ups-externs :ups-foreign-libs :ups-libs :warning-handlers :preloads
167
167
:browser-repl :cache-analysis-format :infer-externs :closure-generate-exports :npm-deps
168
168
:fn-invoke-direct :checked-arrays :closure-module-roots :rewrite-polyfills :use-only-custom-externs
169
- :watch :watch-error-fn :watch-fn :install-deps :process-shim })
169
+ :watch :watch-error-fn :watch-fn :install-deps :process-shim :rename-prefix :rename-prefix-namespace })
170
170
171
171
(def string->charset
172
172
{" iso-8859-1" StandardCharsets/ISO_8859_1
254
254
(. compiler-options
255
255
(setRewritePolyfills (:rewrite-polyfills opts))))
256
256
257
+ (when (contains? opts :rename-prefix )
258
+ (. compiler-options
259
+ (setRenamePrefix (:rename-prefix opts))))
260
+
261
+ (when (contains? opts :rename-prefix-namespace )
262
+ (. compiler-options
263
+ (setRenamePrefixNamespace (:rename-prefix-namespace opts))))
264
+
257
265
(. compiler-options
258
266
(setOutputCharset (to-charset (:closure-output-charset opts " UTF-8" ))) ; ; only works > 20160125 Closure Compiler
259
267
)
You can’t perform that action at this time.
0 commit comments