Skip to content

Commit

Permalink
fix: ts file import generate cjs for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 19, 2021
1 parent 27d1faf commit b01e632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core/src/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const dynamicRequire = (filePath: string): any => {
config: {
compilerOptions: {
jsx: ts.JsxEmit.ReactJSX,
module: ts.ModuleKind.ES2015,
module: ts.ModuleKind.CommonJS,
},
},
};
Expand Down

0 comments on commit b01e632

Please sign in to comment.