Skip to content

Commit f1c092c

Browse files
committed
refactor: user estree-walker on tasks
1 parent 0033d72 commit f1c092c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { readdir, lstat, readFile, existsSync, writeFile } from 'fs';
33
import { resolve, dirname } from 'path';
44
import { Parser } from 'acorn';
5-
import { walk } from 'svelte/compiler';
5+
import { walk } from 'estree-walker';
66
import MagicString from 'magic-string';
77

88
const parseDir = (dir) => {

0 commit comments

Comments
 (0)