Skip to content

Commit

Permalink
fix: use more ipfs-sw prefixes (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki authored Oct 22, 2024
1 parent 86641e5 commit ade0074
Show file tree
Hide file tree
Showing 6 changed files with 3,645 additions and 3,930 deletions.
7 changes: 4 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,13 @@ const watchRequested = process.argv.includes('--watch')
const serveRequested = process.argv.includes('--serve')

if (!watchRequested && !serveRequested) {
esbuild.build(buildOptions).then(result => {
try {
await ctx.rebuild()
console.log('Build completed successfully.')
}).catch(error => {
} catch (error) {
console.error('Build failed:', error)
process.exit(1)
})
}
await ctx.dispose()
}

Expand Down
Loading

0 comments on commit ade0074

Please sign in to comment.