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

No support for nullish coalescing operator?? #28

Closed
pbb72 opened this issue Nov 29, 2022 · 1 comment
Closed

No support for nullish coalescing operator?? #28

pbb72 opened this issue Nov 29, 2022 · 1 comment

Comments

@pbb72
Copy link

pbb72 commented Nov 29, 2022

Sorry if I am missing the point, just getting started with gulp.

It seems to me gulp-strip-debug crashes on a nullish coalescing operator (??):

test.js:

const test = null ?? 42;

Output:

SyntaxError in plugin "gulp-strip-debug"
Message:
    Unexpected token ?
Details:
    index: 19
    lineNumber: 1
    column: 20
    fileName: [...]\test.js
    domainEmitter: [object Object]
    domainThrown: false
@sindresorhus
Copy link
Owner

https://github.com/sindresorhus/gulp-strip-debug/releases/tag/v5.0.0

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