in appsettings.production.json, what is the exclude section?

Viewed 229

in VS 2019, aspnet core 3.1, I created appsettings.Productions.json.

Why did the contain the following, and what does it mean?

"exclude": [
    "**/bin",
    "**/bower_components",
    "**/jspm_packages",
    "**/node_modules",
    "**/obj",
    "**/platforms"
]
1 Answers

Why did the contain the following, and what does it mean?

It is used to exclude list of folders to let the language service know which files are safe to ignore.

The output location, as well as non-project folders such as node_modules or bin, should be added to this setting.

Related