★ wanayoo — archive 1999 https://github.com/ember-cli/ember-cli.github.io/issues/152Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading sourcemaps documentation #152

Open
alexander-alvarez opened this issue May 30, 2017 · 0 comments
Open

Misleading sourcemaps documentation #152

alexander-alvarez opened this issue May 30, 2017 · 0 comments

Comments

@alexander-alvarez
Copy link

@alexander-alvarez alexander-alvarez commented May 30, 2017

According to the docs https://ember-cli.com/user-guide/#source-maps => https://github.com/ember-cli/ember-cli.github.io/blob/master/_posts/2013-04-09-asset-compilation.md#source-maps

Default ember-cli-build.js:

import EmberApp from 'ember-cli/lib/broccoli/ember-app';
var app = new EmberApp({
  sourcemaps: {
    enabled: EmberApp.env() !== 'production',
    extensions: ['js']
  }
});

I took this to mean this is the default that will be used if nothing is set, but that is not true.

I understand how the wording doesn't actually mean that -- it means this is the default ember-cli-build.js like if you got it out of the box.

However, in reality -- that's not the case https://github.com/ember-cli/ember-new-output/blob/master/ember-cli-build.js

so I'm curious how we want to improve the documentation or code to match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.