From 1a05b4efa85992814df47c54226efa2d2fa9c9b2 Mon Sep 17 00:00:00 2001 From: Ilkay Ilknur Date: Wed, 16 Dec 2020 14:10:31 +0300 Subject: [PATCH] add bundling and minification descriptions. --- docs/en/CLI.md | 2 +- .../src/Volo.Abp.Cli/Properties/launchSettings.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 framework/src/Volo.Abp.Cli/Properties/launchSettings.json diff --git a/docs/en/CLI.md b/docs/en/CLI.md index c5eb38bbbe..2e7b117799 100644 --- a/docs/en/CLI.md +++ b/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) \ No newline at end of file +`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) \ No newline at end of file diff --git a/framework/src/Volo.Abp.Cli/Properties/launchSettings.json b/framework/src/Volo.Abp.Cli/Properties/launchSettings.json new file mode 100644 index 0000000000..6846f7adbd --- /dev/null +++ b/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" + } + } +} \ No newline at end of file