Skip to content

Commit 841f8f5

Browse files
fix: update wasm location
1 parent 835fed0 commit 841f8f5

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"compilerOptions": {
33
"target": "ESNext",
44
"useDefineForClassFields": true,
5-
"module": "nodenext",
6-
"moduleResolution": "nodenext",
5+
"module": "ESNext",
6+
"moduleResolution": "node",
77
"strict": true,
88
"jsx": "preserve",
99
"sourceMap": true,

website/src/catalog/RuleFilter.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
features,
88
ruleTypes,
99
type Filter,
10-
} from './data.js'
10+
} from './data'
1111
1212
const model = defineModel<Filter>()
1313

website/src/catalog/RuleList.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script setup lang="ts">
2-
import NumberFlow, { continuous } from '@number-flow/vue'
2+
import NumberFlow from '@number-flow/vue'
3+
// @ts-ignore missing type
4+
import { continuous } from '@number-flow/vue'
35
import { type Filter, getRuleMetaData } from './data.js'
46
import { computed, ref, type PropType } from 'vue'
57
import RuleItem from './RuleItem.vue'

website/src/catalog/data.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { data as allRules } from '../../_data/catalog.data.js'
2-
export type { RuleMeta } from '../../_data/catalog.data.js'
1+
import { data as allRules } from '../../_data/catalog.data'
2+
export type { RuleMeta } from '../../_data/catalog.data'
33

44
export function intersect(a: string[], b: string[]) {
55
return a.some(x => b.includes(x))

0 commit comments

Comments
 (0)