Skip to content

Commit 7ba69c3

Browse files
committed
Add back build_tool
1 parent aaf67a7 commit 7ba69c3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/directlinespeech/tsup.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ const config = applyConfig(config => ({
2323
},
2424
env: {
2525
...config.env,
26+
27+
build_tool: 'tsup',
28+
2629
// Followings are required by microsoft-cognitiveservices-speech-sdk:
2730
NODE_TLS_REJECT_UNAUTHORIZED: '',
2831
SPEECH_CONDUCT_OCSP_CHECK: '',
2932
SPEECH_OCSP_CACHE_ROOT: ''
3033
},
31-
esbuildPlugins: [...config.esbuildPlugins, resolveCognitiveServicesToES2015],
34+
// Intentionally overriding existing esbuild plugins.
35+
esbuildPlugins: [resolveCognitiveServicesToES2015],
3236
// We need to internalize event-target-shim because it appear as transient packages with a different version.
3337
noExternal: [...(config.noExternal ?? []), 'event-target-shim']
3438
}));

0 commit comments

Comments
 (0)