-> v0.22.1

This commit is contained in:
Rich Harris
2018-09-30 21:10:17 -04:00
parent 4375feac83
commit 664c093391
4 changed files with 10 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ function generate_client(
bundler: string,
dev_port?: number
) {
const template_file = path.resolve(__dirname, '../templates/dist/client.js');
const template_file = path.resolve(__dirname, '../templates/client.js');
const template = fs.readFileSync(template_file, 'utf-8');
const page_ids = new Set(manifest_data.pages.map(page =>
@@ -145,7 +145,7 @@ function generate_server(
manifest_data: ManifestData,
path_to_routes: string
) {
const template_file = path.resolve(__dirname, '../templates/dist/server.js');
const template_file = path.resolve(__dirname, '../templates/server.js');
const template = fs.readFileSync(template_file, 'utf-8');
const imports = [].concat(