Skip to content

Commit

Permalink
Use CJS for service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanpingle committed Sep 30, 2024
1 parent e3887a9 commit d1b7fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ async function main() {
contexts.push(
await esbuild.context({
...commonBuildOptions,
format: "cjs",
entryPoints: ["src/service-worker.ts"],
outdir: "./dist",
plugins: [
Expand Down

0 comments on commit d1b7fe5

Please sign in to comment.