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

Wrong CLI option for Source Maps in README.md #95

Open
lxfrdl opened this issue Jun 25, 2019 · 0 comments
Open

Wrong CLI option for Source Maps in README.md #95

lxfrdl opened this issue Jun 25, 2019 · 0 comments

Comments

@lxfrdl
Copy link

lxfrdl commented Jun 25, 2019

In the README.md it says you could use browserify -t [ uglifyify --no-sourcemap ] app.js to disable sourcemaps. This, for me, throws the following error
DefaultsError: sourcemap is not a supported option while parsing file
.
If I use --no-sourceMap instead (browserify -t [ uglifyify --no-sourceMap ] app.js it works like a charm.
It would be nice, if the README.md could be changed, to that it represents the current state.

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

1 participant