c# - Bundle seems to happen after files are copied -


i trying deploy asp.net core web application.

at beginning of publish process, have 1 file under \wwwroot\css: main.css.

after publish process:

  • in \publish folder, there main.css
  • in \wwwroot\css folder, there main.css + main.min.css (thus minification works, command line message says*)

my .csproj seems correct:

<target name="prepublishscript" beforetargets="prepareforpublish">     <exec command="bower install --allow-root" />     <exec command="dotnet bundle" /> </target>  <itemgroup>       <none update="wwwroot\**\*">       <copytopublishdirectory>preservenewest</copytopublishdirectory>     </none> </itemgroup> 

so thing seems possible in scenario bundling happening after files copied.

(*) command line message:

processing wwwroot/css/site.min.css minified 


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -