broccoli-ember-script

EmberScript filter for Broccoli

Usage no npm install needed!

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

README

broccoli-ember-script

A EmberScript filter for Broccoli. This plugin simply compiles EmberScript to JS for Broccoli to further process, allowing Broccoli to control things such as optimization.

Installation

npm install --save-dev broccoli-ember-script

Usage

var filterEmberScript = require('broccoli-ember-script');
tree = filterEmberScript(tree, options);

Options

bare

If bare is true, the EmberScript compiler will not emit a top-level function wrapper:

filterEmberScript(tree, {
  bare: true
})

Source Maps

Source maps are not yet supported.