Fix UMD, fix PNPM, importing require'd modules in app code

Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
This commit is contained in:
Jarred Sumner
2021-09-02 11:51:52 -07:00
parent 47c660f2e1
commit 2fa09f7c09
14 changed files with 286 additions and 92 deletions

View File

@@ -518,7 +518,7 @@ pub const VirtualMachine = struct {
file_path,
&parse_result,
.absolute_path,
true,
false,
);
if (!source_code_printer_loaded) {
@@ -601,7 +601,7 @@ pub const VirtualMachine = struct {
path,
&parse_result,
.absolute_path,
true,
false,
);
vm.resolved_count += vm.bundler.linker.import_counter - start_count;
vm.bundler.linker.import_counter = 0;