diff --git a/build/pre-publish.js b/build/pre-publish.js
index <HASH>..<HASH> 100644
--- a/build/pre-publish.js
+++ b/build/pre-publish.js
@@ -119,6 +119,7 @@ const compileWorkList = [
         logLabel: 'extension ts -> js-esm',
         compilerOptionsOverride: {
             module: 'ES2015',
+            declaration: false,
             rootDir: extensionSrcDir,
             outDir: extensionESMDir
         },
chore: not export declarations on the extension build