Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

How to include comments in a production build

$
0
0

@phcoliveira wrote:

Hello there and thanks in advance.

I need to produce a production build without minification and uglification. Actually, I already know how to achieve this, by using options as such, in ember-cli-build.js:

var app = new EmberApp(defaults, {
  'ember-cli-uglify': {
    enabled: false
  },

  minifyJS: {
    options: {
      exclude: ['**/app.js']
    }
  }
});

The problem is that I also need to preserve the original comments of all files, or at least the ones serving as annotations.

How can I do that?

Posts: 11

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles