I have a Visual Studio v16.6 .NET Core 3.1 app with an embedded React/Typescript app.
The react app code is located in the /ClientApp folder.
The package.json and node_modules are located within the /ClientApp (root folder).
- When this project was in
VSC2017, any changes made to thepackage.jsonwere automatically updated in thenode_modulesfolder. - In
VSC2019when thepackage.jsonis in the root folder, the npm dependencies are listed and updated whenpackage.jsonis updated.
However, in VSC2019, when package.json is located in the /ClientApp folder neither the node_modules nor the npm dependencies are updated.
Question:
Is there a way to configure VSC2019 to look in the /ClientApp folder for package.json and update npm dependencies accordingly?