mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-20 22:35:09 +00:00
oops, missed one
This commit is contained in:
@@ -263,7 +263,9 @@ export async function dev(opts: { port: number, open: boolean }) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
result: info => {
|
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();
|
deferreds.client.fulfil();
|
||||||
|
|
||||||
const client_files = info.assets.map((chunk: { name: string }) => `client/${chunk.name}`);
|
const client_files = info.assets.map((chunk: { name: string }) => `client/${chunk.name}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user