diff --git a/Composer/plugins/localPublish/src/index.ts b/Composer/plugins/localPublish/src/index.ts index c6ebb1f002..5ebd4b8cb9 100644 --- a/Composer/plugins/localPublish/src/index.ts +++ b/Composer/plugins/localPublish/src/index.ts @@ -341,7 +341,7 @@ class LocalPublisher implements PublishPlugin { if (fs.existsSync(dstPath)) { await removeFile(dstPath); } - const files = await glob('**/*', { cwd: srcDir, dot: true }); + const files = await glob('**/*', { cwd: srcDir, dot: true, ignore: ['runtime'] }); return new Promise((resolve, reject) => { const archive = archiver('zip'); const output = fs.createWriteStream(dstPath);