Skip to content

Commit fdfb619

Browse files
committed
Fix watch mode
1 parent de10d02 commit fdfb619

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/bundle/esbuild.static.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ async function buildNextConfig() {
199199
// eslint-disable-next-line prefer-destructuring
200200
const [_0, _1, watch] = process.argv;
201201

202-
configs.set('', {
202+
configs.set('botframework-webchat', {
203203
chunkNames: `botframework-webchat.[name]-[hash]`,
204204
entryNames: `[name]`,
205205
entryPoints: {
@@ -222,10 +222,10 @@ async function buildNextConfig() {
222222
const ourConfigs = [];
223223

224224
for (const [key, config] of configs) {
225-
if (!key || key.startsWith('botframework-webchat')) {
225+
if (key.startsWith('botframework-webchat')) {
226226
const ourConfig = { ...config, ...BASE_CONFIG };
227227

228-
ourConfig.plugins.push(createWatcherPlugin(key || output));
228+
ourConfig.plugins.push(createWatcherPlugin(key));
229229

230230
ourConfigs.push(ourConfig);
231231
}

0 commit comments

Comments
 (0)