For example I have file app/acl.js
And when I compile my application
ember build
In my compiled file dist/assets/app.js i see two acl modules
define('builder/acl', ['exports', 'ember'], function (exports, Ember) {
and
define('builder/tests/acl', ['exports', 'ember'], function (exports, Ember) {
In the first builder/acl module code is transpiled from ES6 to ES5
But in the second module builder/tests/acl code is original ES6
And when I run tests
ember test --server
I got an error, because browsers doesn’t understand ES6 syntax.
How can I say ember-cli not to create second builder/tests/acl module?
Thanks!