Skip to content

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

Open
@initmaster

Description

@initmaster

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions