Skip to content

Commit

Permalink
Update internal HydeFront prod script to be named build to match Vite
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 17, 2024
1 parent c2f76be commit 9598933
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:

- name: Build assets for production
working-directory: 'packages/hydefront'
run: npm run prod
run: npm run build

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion monorepo/docs/hydefront.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npm link hydefront
```bash
cd packages/hydefront
git pull origin master
npm run prod
npm run build
```

### Build, version, and publish
Expand Down
2 changes: 1 addition & 1 deletion packages/hydefront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.4.1",
"description": "Frontend assets for HydePHP",
"scripts": {
"prod": "sass hyde.scss dist/hyde.css --style=compressed && php .github/scripts/post-build.php --inject-version",
"build": "sass hyde.scss dist/hyde.css --style=compressed && php .github/scripts/post-build.php --inject-version",
"dev": "sass hyde.scss dist/hyde.css",
"watch": "sass hyde.scss dist/hyde.css --watch"
},
Expand Down

0 comments on commit 9598933

Please sign in to comment.