minor tidy up

This commit is contained in:
Rich Harris
2018-08-30 18:41:37 -04:00
parent 70fd7038b0
commit 7798f8f684
3 changed files with 10 additions and 10 deletions

View File

@@ -280,7 +280,7 @@ class Watcher extends EventEmitter {
fs.writeFileSync(path.join(dest, 'build.json'), JSON.stringify({
bundler: this.bundler,
shimport: this.bundler === 'rollup' && require('shimport/package.json').version,
assets: result.assetsByChunkName
assets: result.assets
}, null, ' '));
const client_files = result.assets.map((file: string) => `client/${file}`);