Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRayCode committed Dec 6, 2022
1 parent 99720a6 commit bcdd38f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import generate from './generator';
import { AstNode, FunctionNode } from '../ast';
import { ScopeIndex, Scope, Parser } from './parser';
import { renameBindings, renameFunctions, renameTypes } from './utils';
import { preprocessAst } from '../preprocessor';
import { preprocessAst } from '../preprocessor/preprocessor';
import generatePreprocess from '../preprocessor';

const fileContents = (filePath: string) =>
Expand Down
3 changes: 3 additions & 0 deletions src/preprocessor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import {
preprocessComments,
PreprocessorOptions,
} from './preprocessor';

// This index file is currently only for package publishing, where the whole
// library exists in the dist/ folder, so the below import is relative to dist/
import parser from './preprocessor-parser.js';

// Should this be in a separate file? There's no tests for it either
Expand Down

0 comments on commit bcdd38f

Please sign in to comment.