Skip to content

Commit

Permalink
Update vue build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Sep 22, 2024
1 parent 930e433 commit 72ffa52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion libs/features/nx-vue-svg-loaders/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
"projectType": "library",
"tags": [],
"// targets": "to see all targets run: nx show project nx-vue-svg-loaders --web",
"targets": {}
"targets": {
"tailwind-build": {
"command": "npx tailwindcss -i ./libs/utils/nx-svg-shared-utils/src/styles/base-loader.component.scss -o ./dist/libs/features/nx-vue-svg-loaders/styles.css"
}
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"svelte:start": "nx serve svelte-app",
"angular:build": "nx build nx-angular-svg-loaders && nx run nx-angular-svg-loaders:tailwind-build",
"react:build": "nx build nx-react-svg-loaders && nx run nx-react-svg-loaders:tailwind-build",
"svelte:build": "nx run nx-svelte-svg-loaders:tailwind-build && nx run nx-svelte-svg-loaders:npm-pack"
"svelte:build": "nx run nx-svelte-svg-loaders:tailwind-build && nx run nx-svelte-svg-loaders:npm-pack",
"vue:build": "nx build nx-vue-svg-loaders && nx run nx-vue-svg-loaders:tailwind-build"
},
"private": true,
"type": "module",
Expand Down Expand Up @@ -108,6 +109,7 @@
"react-router-dom": "6.11.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"vite-tsconfig-paths": "^5.0.1",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"zone.js": "~0.14.3"
Expand Down

0 comments on commit 72ffa52

Please sign in to comment.