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

README.md sourcemap option example #38

Closed
jskrzypek opened this issue May 12, 2015 · 1 comment
Closed

README.md sourcemap option example #38

jskrzypek opened this issue May 12, 2015 · 1 comment

Comments

@jskrzypek
Copy link

In the source map example I think you have a mistake, sourcemap is passed as false

var bundler = browserify({ debug: true })

bundler
  .add('index.js')
  .transform({ sourcemap: false }, 'uglifyify')
  .bundle()
  .pipe(process.stdout)

Shouldn't it look like this?

var bundler = browserify({ debug: true })

bundler
  .add('index.js')
  .transform('uglifyify')
  .bundle()
  .pipe(process.stdout)
@weilu
Copy link
Collaborator

weilu commented May 12, 2015

Thank you @jskrzypek :) 17011a8

@weilu weilu closed this as completed May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants