ember-cli-closure

JavaScript minification for Ember-CLI with Google closure compiler

Usage no npm install needed!

<script type="module">
  import emberCliClosure from 'https://cdn.skypack.dev/ember-cli-closure';
</script>

README

ember-cli-closure

JavaScript minification for Ember-CLI with Google closure compiler

Usage

Just install the plugin with:

npm install --save-dev ember-cli-closure

and you should be good to go.

You should remove ember-cli-uglify if you don't want to use both minifiers

You can pass custom options to the minifier via the minifyJS:options object in your Brocfile. The full list of options is available here

Default values are:

{
    language_in: 'ECMASCRIPT5'
    language_out: 'ECMASCRIPT5'
    warning_level: 'DEFAULT'
    compilation_level: 'SIMPLE_OPTIMIZATIONS'
}
```ember-cli-uglify