From 4f98324a8a656b0c47e3b48750e10316e4bf314c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 3 May 2018 23:46:41 -0400 Subject: [PATCH] oops, missed one --- src/cli/dev.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/dev.ts b/src/cli/dev.ts index 64357d3..76cc9d1 100644 --- a/src/cli/dev.ts +++ b/src/cli/dev.ts @@ -263,7 +263,9 @@ export async function dev(opts: { port: number, open: boolean }) { }, result: info => { - fs.writeFileSync(path.join(dir, 'client_info.json'), JSON.stringify(info, null, ' ')); + fs.writeFileSync(path.join(dir, 'client_info.json'), JSON.stringify({ + assets: info.assetsByChunkName + }, null, ' ')); deferreds.client.fulfil(); const client_files = info.assets.map((chunk: { name: string }) => `client/${chunk.name}`);