Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #334 from sveltejs/gh-318
Browse files Browse the repository at this point in the history
dont emit client_info.json
  • Loading branch information
Rich-Harris authored Aug 2, 2018
2 parents d1fcd07 + 1bcf205 commit 81f483d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/api/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/api/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 81f483d

Please sign in to comment.