Skip to content

Commit cda0ee8

Browse files
committed
fix: gh pages build with proper subdir in base url
1 parent c477c83 commit cda0ee8

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<title>NER Annotator for SpaCy</title>
8-
<script type="module" crossorigin src="/assets/index-DYNLFKBf.js"></script>
9-
<link rel="stylesheet" crossorigin href="/assets/index-_jiBOyD3.css">
8+
<script type="module" crossorigin src="/ner-annotator/assets/index-BXYN3bSs.js"></script>
9+
<link rel="stylesheet" crossorigin href="/ner-annotator/assets/index-eh-puVY4.css">
1010
</head>
1111
<body>
1212
<div id="app"></div>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"test": "jest",
99
"dev": "vite",
1010
"build": "vite build",
11+
"build-gh": "vite build --base=/ner-annotator/",
1112
"preview": "vite preview",
1213
"test:unit": "vitest",
1314
"test:e2e": "playwright test",

0 commit comments

Comments
 (0)