render main.js back to templates, to allow relative imports - fixes #40

This commit is contained in:
Rich Harris
2017-12-21 11:38:03 -05:00
parent 5b214c964c
commit 222a750b7b
4 changed files with 15 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ module.exports = function generate_asset_cache(clientInfo, serverInfo) {
},
server: {
entry: path.resolve(dest, 'server', serverInfo.assetsByChunkName.server_routes)
entry: path.resolve(dest, 'server', serverInfo.assetsByChunkName.main)
}
};
};