Browse Source

add bundling and minification descriptions.

pull/6668/head
Ilkay Ilknur 6 years ago
parent
commit
1a05b4efa8
  1. 2
      docs/en/CLI.md
  2. 9
      framework/src/Volo.Abp.Cli/Properties/launchSettings.json

2
docs/en/CLI.md

@ -419,4 +419,4 @@ abp bundle [options]
* ```--working-directory``` or ```-wd```: Specifies the working directory. This option is useful when executing directory doesn't contain a Blazor project file.
* ```--force``` or ```-f```: Forces to build project before generating references.
For more details about managing style and script references in Blazor apps, see [Managing Global Scripts & Styles](UI/Blazor/Global-Scripts-Styles.md)
`bundle` command reads the `appsettings.json` file inside the Blazor project for bundling options. For more details about managing style and script references in Blazor apps, see [Managing Global Scripts & Styles](UI/Blazor/Global-Scripts-Styles.md)

9
framework/src/Volo.Abp.Cli/Properties/launchSettings.json

@ -0,0 +1,9 @@
{
"profiles": {
"Volo.Abp.Cli": {
"commandName": "Project",
"commandLineArgs": "bundle --skip-version-check",
"workingDirectory": "C:\\Github\\volo\\abp\\templates\\app-pro\\aspnet-core\\src\\MyCompanyName.MyProjectName.Blazor"
}
}
}
Loading…
Cancel
Save