Skip to content

Commit

Permalink
fix: ensured to prebundle js
Browse files Browse the repository at this point in the history
  • Loading branch information
bielu committed Jan 7, 2024
1 parent 7216581 commit 02d203b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/bielu.cdn.ui/bielu.cdn.ui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<Folder Include="src\umbraco\" />
<Folder Include="wwwroot\App_Plugins\bielu.cdn.ui\" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="npm run bundle" />
</Target>

<Target Name="BieluCdnBeforeBuild" BeforeTargets="Build">
<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/bielu.cdn.ui/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "bielu.cdn.ui",
"private": true,
"version": "0.0.0",
"version": "2.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"bundle": "npm install && vue-tsc && vite build",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
Expand Down

0 comments on commit 02d203b

Please sign in to comment.