Merge pull request #334 from sveltejs/gh-318

dont emit client_info.json
This commit is contained in:
Rich Harris
2018-08-02 08:40:30 -04:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -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);

View File

@@ -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();