We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0c815 commit 814fc6bCopy full SHA for 814fc6b
packages/web-scripts/src/Tasks/BuildTask.ts
@@ -59,6 +59,8 @@ async function buildTypes(task: BuildTaskDesc): Promise<string> {
59
'--emitDeclarationOnly',
60
'--noEmit',
61
'false',
62
+ '--module',
63
+ 'CommonJS',
64
...task.restOptions,
65
];
66
const stdout = await spawn(cmd, args, { stdio: 'inherit' });
0 commit comments