Skip to content

Commit

Permalink
chore: set outDir to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakuraMizu committed Jun 26, 2024
1 parent 7a081e6 commit b185984
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
name: chrome
path: |
.output/chrome-mv3/
dist/chrome-mv3/
stats.html
- name: Build Firefox version
run: yarn zip:firefox
Expand All @@ -29,11 +29,11 @@ jobs:
with:
name: firefox
path: |
.output/firefox-mv3/
dist/firefox-mv3/
stats.html
- name: Upload Zip files
uses: actions/upload-artifact@v4
with:
name: zip-files
path: |
.output/*.zip
dist/*.zip
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
.output
dist
stats.html
stats-*.json
.wxt
Expand Down
3 changes: 3 additions & 0 deletions wxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,8 @@ export default defineConfig({
zip: {
artifactTemplate: `{{name}}-{{version}}-${gitBranch}-${gitVersion}-{{browser}}.zip`,
sourcesTemplate: `{{name}}-{{version}}-${gitBranch}-${gitVersion}-sources.zip`,
// FIXME: remove this after https://github.com/wxt-dev/wxt/pull/774 being merged and released
excludeSources: ['dist/**'],
},
outDir: 'dist',
});

0 comments on commit b185984

Please sign in to comment.