Skip to content

Commit

Permalink
remove format
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 19, 2023
1 parent e00ecc1 commit c59be9d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export async function build_service_worker(
'service-worker': service_worker_entry_file
},
output: {
format: 'es',
// .mjs so that esbuild doesn't incorrectly inject `export` https://github.com/vitejs/vite/issues/15379
entryFileNames: 'service-worker.mjs',
assetFileNames: `${kit.appDir}/immutable/assets/[name].[hash][extname]`,
Expand Down

0 comments on commit c59be9d

Please sign in to comment.