Method: Terser#compile_with_map
- Defined in:
- lib/terser.rb
#compile_with_map(source, source_map_options = @options) ⇒ Array(String, String)
Minifies JavaScript code and generates a source map
174 175 176 |
# File 'lib/terser.rb', line 174 def compile_with_map(source, = @options) run_terserjs(source, true, ) end |