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

VS Freezes and crashes when modifying js file in the bundle or the bundleconfiguration #582

Open
initmaster opened this issue Apr 14, 2022 · 1 comment

Comments

@initmaster
Copy link

Installed product versions

  • Visual Studio: 2019 16.11.9
  • This extension: 2.8.396

Description

VS Freezes and crashes when modifying js file in the bundle or the bundleconfiguration.json itself.
It happens when "Produce Output Files" is activated and when a same js file is in two bundles at the same time.

Steps to recreate

  1. Be sure "Produce Output Files" is activated
  2. Define two different bundle in bundleconfig.json referencing the same js file.
  3. Make a change to the js file
  4. VS Freezes and crash
[
  {
    "outputFileName": "Scripts/bundle1.min.js",
    "inputFiles": [
      "Scripts/test.js"
    ],
    "minify": {
      "enabled": true,
      "preserveImportantComments": false
    }
  },
  {
    "outputFileName": "Scripts/bundle2.min.js",
    "inputFiles": [
      "Scripts/test.js"
    ],
    "minify": {
      "enabled": true,
      "preserveImportantComments": false
    }
  }
]

Thanks in advance for your help

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
@initmaster and others