Skip to content

Commit 74ef360

Browse files
authored
Fix circular dependency and configure static assets (#59)
1 parent 6e4eef9 commit 74ef360

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
.DS_Store
22
node_modules
33
/build
4+
/dist
45
/.svelte-kit
56
/package
67
.env
78
.env.*
89
!.env.example
910

1011
.vercel
12+

src/stores/advancedSearch.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import { blockLookupSig } from "$stores";
21
import type { BidiClass, Filter } from "$utils/types";
32
import { PLANE_LENGTH } from "$utils/unicode";
43
import { createSignal } from "solid-js";
54

5+
export type Block = { range: [number, number]; name: string };
6+
export const [blockLookupSig, setBlockLookupSig] = createSignal<Block[]>([]);
7+
68
type MatchType = "Require" | "Exclude";
79
export type Box =
810
| {

src/stores/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ export const selectedCodepointSig = createMemo(() => {
5757
return results?.[index]?.[1];
5858
});
5959

60-
export type Block = { range: [number, number]; name: string };
61-
export const [blockLookupSig, setBlockLookupSig] = createSignal<Block[]>([]);
62-
6360
export const [encodingModeSig, setEncodingModeSig] = createSignal<"hex" | "bin" | "dec">("hex");
6461

6562
// advanced search data

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import solidStyled from "unplugin-solid-styled";
44
import path from "path";
55

66
export default defineConfig({
7+
publicDir: "static",
78
resolve: {
89
alias: {
910
$lib: path.resolve(__dirname, "src/lib"),

0 commit comments

Comments
 (0)