Skip to content

Commit

Permalink
fix(create-svelte): Add $service-worker to paths in `tsconfig.jso…
Browse files Browse the repository at this point in the history
…n` (#716)
  • Loading branch information
Liamolucko authored Mar 27, 2021
1 parent 17bb699 commit f7badf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-humans-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Add '\$service-worker' to paths in tsconfig.json
1 change: 1 addition & 0 deletions packages/create-svelte/template-additions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"checkJs": true,
"paths": {
"$app/*": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"],
"$service-worker": [".svelte/build/runtime/service-worker"],
"$lib/*": ["src/lib/*"]
}
},
Expand Down

0 comments on commit f7badf1

Please sign in to comment.