mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Fix lexer expected token error (#1387)
* fix: lexer expected token error * fix: handle parse error through logs
This commit is contained in:
@@ -2922,6 +2922,10 @@ pub const ModuleLoader = struct {
|
||||
return error.ParseError;
|
||||
};
|
||||
|
||||
if (jsc_vm.bundler.log.errors > 0) {
|
||||
return error.ParseError;
|
||||
}
|
||||
|
||||
if (comptime disable_transpilying) {
|
||||
return ResolvedSource{
|
||||
.allocator = null,
|
||||
|
||||
Reference in New Issue
Block a user