Skip to content

Commit

Permalink
deat: build script support extesion zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Heroor committed May 5, 2024
1 parent c33bf6e commit ee340c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
*.zip
2 changes: 2 additions & 0 deletions scripts/build-ext.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ await $`rm -rf ${outputDir}/*`
await $`cp -r ${distDir}/* ${outputDir}`
await $`cp -rf ${extensionDir}/* ${outputDir}`

await $`zip -r hello-nav.zip ./extension`

console.log('🧩 Extension generation success!')

0 comments on commit ee340c5

Please sign in to comment.