Skip to content

Commit

Permalink
command to build:chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
mercillo committed Jul 2, 2024
1 parent 1c772b2 commit 329e2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/buildextension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
shell: bash

- name: Build extension
run: npm run build --if-present
run: npm run build:chrome --if-present
shell: bash

- name: Pack extension
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build:chrome": "plasmo build",
"build:firefox": "plasmo build --target=firefox-mv2",
"inject:css": "scripts/inject-css.sh",
"build:prod": "npm build",
"build": "pnpm build:chrome && pnpm build:firefox && pnpm inject:css",
"test": "plasmo test",
"inject:chrome": "pnpm build:chrome && pnpm inject:css && web-ext run -t chromium --start-url \"https://example.com\" --source-dir ./build/chrome-mv3-prod",
Expand Down

0 comments on commit 329e2d3

Please sign in to comment.