Skip to content

Commit

Permalink
fix: update snowpack base url for gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Greenemeier committed Dec 22, 2020
1 parent 2a4cd9f commit 44a47ab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
8 changes: 7 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"highlight.js": "^10.4.1",
"jest": "^26.6.3",
"snowpack": "^2.15.1",
"snowpack-plugin-baseurl-handler": "0.0.3",
"svelte": "^3.29.4",
"svelte-check": "^1.1.2"
}
Expand Down
13 changes: 12 additions & 1 deletion snowpack.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"extends": "@snowpack/app-scripts-svelte",
"plugins": [
"@snowpack/plugin-webpack"
"@snowpack/plugin-webpack",
[
"snowpack-plugin-baseurl-handler",
{
"exts": [
".html",
".js",
".css"
],
"baseUrl": "/svelte-calendar"
}
]
]
}

0 comments on commit 44a47ab

Please sign in to comment.