Skip to content

Commit

Permalink
Don’t include Vite config in @odk/xpath build:types
Browse files Browse the repository at this point in the history
  • Loading branch information
eyelidlessness committed Oct 16, 2023
1 parent ffdfc03 commit 3628576
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/odk-xpath/src/static/grammar/ExpressionParser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// import * as Parser from 'web-tree-sitter';
import type { Language, ParserInstance } from '../../../vendor/web-tree-sitter.ts';
import { Parser } from '../../../vendor/web-tree-sitter.ts';
// TODO: ?raw (?)
import treeSitterWASM from 'web-tree-sitter/tree-sitter.wasm?url';
import treeSitterXPathWASM from 'tree-sitter-xpath/tree-sitter-xpath.wasm?url';
import { UpsertableMap } from '../../lib/collections/UpsertableMap.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/odk-xpath/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": ["src", "test/**/*.ts", "vendor", "vite.config.ts"],
"include": ["src", "test/**/*.ts", "vendor", "vite-env.d.ts"],
"compilerOptions": {
"declarationDir": "./dist",
"lib": ["DOM", "DOM.Iterable", "ES2022"],
Expand Down
1 change: 1 addition & 0 deletions packages/odk-xpath/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />

0 comments on commit 3628576

Please sign in to comment.