Any reason why the yeoman templates deploy so many files to production? #1458

Closed
opened 2025-08-09 17:20:13 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @shawnwildermuth on 8/3/2016

In the templates for ASP.NET Core (e.g. generator-aspnetcore-spa), the project.json is publishing a lot of files:

  "publishOptions": {
    "include": [
      "appsettings.json",
      "ClientApp",
      "node_modules",
      "typings",
      "Views",
      "tsconfig.json",
      "tsd.json",
      "web.config",
      "webpack.*.js",
      "wwwroot"
    ]
  },

Any reason the webpack files, the tsd.json, the node_modules, typings, and ClientApp are all needed since you're using webpack to package up the files? It seems unnecessary.

*Originally created by @shawnwildermuth on 8/3/2016* In the templates for ASP.NET Core (e.g. generator-aspnetcore-spa), the project.json is publishing a _lot_ of files: ``` "publishOptions": { "include": [ "appsettings.json", "ClientApp", "node_modules", "typings", "Views", "tsconfig.json", "tsd.json", "web.config", "webpack.*.js", "wwwroot" ] }, ``` Any reason the webpack files, the tsd.json, the node_modules, typings, and ClientApp are all needed since you're using webpack to package up the files? It seems unnecessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1458
No description provided.