jkarsrud / ember-cli-defeatureify

Ember-CLI addon to defeatureify your apps
MIT License
18 stars 6 forks source link

The first character in next statement is removed when I write multiple statements on a single line. #14

Closed tekutekutekuno closed 8 years ago

tekutekutekuno commented 9 years ago

Hi, The ember-cli-babel compress the file if file size is larger than 100kb. Then, it seems that defeatureify also remove first character in next statement. And error occur when do uglify. Could anyone help me?

my environment is following: ember: 1.12.0 ember-cli: 0.2.7 ember-cli-babel: 5.1.5 ember-cli-defeatureify: 1.1.1

my defeatureify option is following:

    defeatureify: {
        'enableStripDebug': true,
        'debugStatements': [
            'Ember.default.debug',
            'Ember.default.runInDebug'
        ],
        'features': {}
    }

Thanks