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

strict mode #173

Closed
peterchealse opened this issue Jun 9, 2020 · 3 comments
Closed

strict mode #173

peterchealse opened this issue Jun 9, 2020 · 3 comments

Comments

@peterchealse
Copy link

how to enable strict mode properly? should I add it manually? I found that it sometimes fail.
let E = Objectg.assign; 'use strict';

@peterchealse
Copy link
Author

use strict go to the next line, and the mode fails. the first line is add by esbuild

@evanw
Copy link
Owner

evanw commented Jun 9, 2020

Are you trying to use esbuild in --bundle mode? Or are you just using esbuild for minifying?

@peterchealse
Copy link
Author

my file is not a moule, i can't open bunlde. just minify.

@evanw evanw closed this as completed in ef30f26 Jun 10, 2020
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