Skip to content

Commit

Permalink
Compile mods with CommonJS during full builds this is still used (#1083)
Browse files Browse the repository at this point in the history
Fixes mods not working properly during full builds.
  • Loading branch information
ArchangelWTF authored Jan 15, 2025
1 parent ead7da1 commit 6ae0517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/services/ModCompilerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ModCompilerService {
noEmitOnError: true,
noImplicitAny: false,
target: ScriptTarget.ESNext,
module: ModuleKind.Preserve,
module: ModuleKind.CommonJS,
moduleResolution: ModuleResolutionKind.NodeNext,
sourceMap: true,
resolveJsonModule: true,
Expand Down

0 comments on commit 6ae0517

Please sign in to comment.