Skip to content

Commit

Permalink
rename sw.js -> index.js for library usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Sep 19, 2024
1 parent da6a867 commit 81f1d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
"main": "./src/index.ts",
},
output: {
filename: "sw.js",
filename: "index.js",
globalObject: "self",
library: {
type: "module"
Expand Down

0 comments on commit 81f1d20

Please sign in to comment.