diff --git a/src/api/build.ts b/src/api/build.ts index 3bc87c19e..02aeb63b4 100644 --- a/src/api/build.ts +++ b/src/api/build.ts @@ -62,7 +62,6 @@ async function execute(emitter: EventEmitter, { }); const client_info = client_stats.toJson(); - fs.writeFileSync(path.join(dest, 'client_info.json'), JSON.stringify(client_info)); fs.writeFileSync(path.join(dest, 'client_assets.json'), JSON.stringify(client_info.assetsByChunkName)); const server_stats = await compile(server); diff --git a/src/api/dev.ts b/src/api/dev.ts index eb2a76967..146123edd 100644 --- a/src/api/dev.ts +++ b/src/api/dev.ts @@ -252,7 +252,6 @@ class Watcher extends EventEmitter { }, result: info => { - fs.writeFileSync(path.join(dest, 'client_info.json'), JSON.stringify(info)); fs.writeFileSync(path.join(dest, 'client_assets.json'), JSON.stringify(info.assetsByChunkName, null, ' ')); this.deferreds.client.fulfil();