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

Simplify source map options #7

Closed
sindresorhus opened this issue Oct 8, 2014 · 0 comments
Closed

Simplify source map options #7

sindresorhus opened this issue Oct 8, 2014 · 0 comments
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@sindresorhus
Copy link
Member

Could be just one option.

Instead of:

// Append source map and comment to bottom of returned output.
  sourceMap: false,

  // Returns an object `{ code: "", map: {} }` instead of an appended string.
  sourceMapObject: false,

You could have:

sourceMap: 'inline',
sourceMap: 'external', // or a better word?
sourceMap: false
sebmck added a commit that referenced this issue Oct 8, 2014
@sebmck sebmck closed this as completed Oct 8, 2014
JacopKane pushed a commit to JacopKane/babel that referenced this issue Jan 11, 2018
JacopKane pushed a commit to JacopKane/babel that referenced this issue Jan 11, 2018
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jan 19, 2019
@lock lock bot unassigned sebmck Jan 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

2 participants