Skip to content

Commit

Permalink
fix: update service-worker entry
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 7, 2022
1 parent 9766bdc commit 5874d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const htmlTemplate = (baseURL = '/') => `<!DOCTYPE html>
export const serviceWorker = defineNitroPreset(() => {
return {
extends: 'base-worker',
entry: '#nitro/entries/browser-worker',
entry: '#nitro/entries/service-worker',
output: {
serverDir: '{{ output.dir }}/public/_server'
},
Expand Down

0 comments on commit 5874d01

Please sign in to comment.