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
Add option to always enable source-maps #16
Closed
Comments
@ForbesLindesay 👍 I'd missed that this was happening seeing as I don't use sourcemaps myself! Once browserify/browserify#844 is sorted I'll enable sourcemaps when |
hughsk
added a commit
to hughsk/node-browserify
that referenced
this issue
Sep 19, 2014
Essentially, "flags" is set to the value of the bundler's "_options" property. This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI or module API. Closes browserify#844 Fixes hughsk/uglifyify#16 Fixes hughsk/uglifyify#18 This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI.' did not match any file(s) known to git.
hughsk
added a commit
to hughsk/node-browserify
that referenced
this issue
Sep 19, 2014
Essentially, "flags" is set to the value of the bundler's "_options" property. This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI or module API. Closes browserify#844 Fixes hughsk/uglifyify#16 Fixes hughsk/uglifyify#18 This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI.' did not match any file(s) known to git.
hughsk
added a commit
to hughsk/node-browserify
that referenced
this issue
Sep 19, 2014
Essentially, "flags" is set to the value of the bundler's "_options" property. This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI or module API. Closes browserify#844 Fixes hughsk/uglifyify#16 Fixes hughsk/uglifyify#18 This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI.
hughsk
added a commit
to hughsk/node-browserify
that referenced
this issue
Sep 19, 2014
Essentially, "flags" is set to the value of the bundler's "_options" property. This should enable more intelligent transform behaviours, for example toggling source maps when --debug is supplied through the CLI or module API. * Closes browserify#844 * Fixes hughsk/uglifyify#16 * Fixes hughsk/uglifyify#18
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using uglifyify even in development for the dead code elimination. I'm defining constants that are always true or always false on the client so I can do things like:
I can't seem to make uglifyify generate source maps unless the input already has a source map. In my case, the input is just pure JavaScript. Could we add an option to include source map comments?
The text was updated successfully, but these errors were encountered: