Skip to content

Commit b4b3122

Browse files
iamstolismarijnh
authored andcommitted
Adding a missing .js extension
Some module loaders (like the default module loader in GraalVM) is not able to resolve this import otherwise.
1 parent 5cc8280 commit b4b3122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acorn/src/tokenize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Parser} from "./state.js"
44
import {SourceLocation} from "./locutil.js"
55
import {RegExpValidationState} from "./regexp.js"
66
import {lineBreak, nextLineBreak, isNewLine, nonASCIIwhitespace} from "./whitespace.js"
7-
import {codePointToString} from "./util"
7+
import {codePointToString} from "./util.js"
88

99
// Object type used to represent tokens. Note that normally, tokens
1010
// simply exist as properties on the parser object. This is only

0 commit comments

Comments
 (0)