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

? and ?? operators issue in JS file #577

Open
zanyar3 opened this issue Feb 3, 2022 · 0 comments
Open

? and ?? operators issue in JS file #577

zanyar3 opened this issue Feb 3, 2022 · 0 comments

Comments

@zanyar3
Copy link

zanyar3 commented Feb 3, 2022

Installed product versions

  • Visual Studio: [2019 Community]
  • This extension: [2.8.396]

Description

When we use ? and ?? operators for check null or undefined in js file this extension not rebuild .min.js file and give us error problem.

Example

// 1)
var myVal = $('#myInput').val() ?? 0;  // .min.js file not rebuild 

// 2) var myData = {
    id: 1,
   name: 'myName'
} ;

var name = myData?.name  //  .min.js file not rebuild 
@zanyar3 zanyar3 changed the title ? and ?? operator in JS file ? and ?? operators issue in JS file Feb 3, 2022
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