mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs: try vercel.json for SPA fallback
This commit is contained in:
parent
7e2d2ede52
commit
444b327104
3 changed files with 25 additions and 2 deletions
|
@ -6,8 +6,7 @@
|
||||||
"dev:svite": "svite",
|
"dev:svite": "svite",
|
||||||
"build": "run-s build:*",
|
"build": "run-s build:*",
|
||||||
"build:routify": "routify run -b",
|
"build:routify": "routify run -b",
|
||||||
"build:svite": "svite build",
|
"build:svite": "svite build"
|
||||||
"postbuild": "node scripts/postbuild"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@carbon/themes": "^10.20.0",
|
"@carbon/themes": "^10.20.0",
|
||||||
|
@ -20,6 +19,7 @@
|
||||||
"mdsvex": "^0.8.8",
|
"mdsvex": "^0.8.8",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^4.14.1",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
|
"playwright": "^1.4.2",
|
||||||
"playwright-aws-lambda": "^0.6.0",
|
"playwright-aws-lambda": "^0.6.0",
|
||||||
"playwright-core": "^1.4.2",
|
"playwright-core": "^1.4.2",
|
||||||
"polka": "^0.5.2",
|
"polka": "^0.5.2",
|
||||||
|
|
7
docs/vercel.json
Normal file
7
docs/vercel.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"routes": [
|
||||||
|
{ "handle": "filesystem" },
|
||||||
|
{ "src": "/.*", "dest": "/index.html" }
|
||||||
|
]
|
||||||
|
}
|
|
@ -3343,6 +3343,22 @@ playwright-core@^1.4.2:
|
||||||
rimraf "^3.0.2"
|
rimraf "^3.0.2"
|
||||||
ws "^7.3.1"
|
ws "^7.3.1"
|
||||||
|
|
||||||
|
playwright@^1.4.2:
|
||||||
|
version "1.4.2"
|
||||||
|
resolved "https://registry.npmjs.org/playwright/-/playwright-1.4.2.tgz#84dac641ff7af9f465e367e01fde8a8f1cc274bf"
|
||||||
|
integrity sha512-qiQHrhU4JBxup9JoGZff6hdFL2VrD+ae5QLELGHwRq/vYNQFeJF10Z3ENnQ6hWJmG+YnpfzgoBvX+cUg4WHwTw==
|
||||||
|
dependencies:
|
||||||
|
debug "^4.1.1"
|
||||||
|
extract-zip "^2.0.1"
|
||||||
|
https-proxy-agent "^5.0.0"
|
||||||
|
jpeg-js "^0.4.2"
|
||||||
|
mime "^2.4.6"
|
||||||
|
pngjs "^5.0.0"
|
||||||
|
progress "^2.0.3"
|
||||||
|
proxy-from-env "^1.1.0"
|
||||||
|
rimraf "^3.0.2"
|
||||||
|
ws "^7.3.1"
|
||||||
|
|
||||||
pngjs@^5.0.0:
|
pngjs@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb"
|
resolved "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue