add SAPPER_BASE and SAPPER_APP environment variables

This commit is contained in:
Rich Harris
2018-03-11 13:29:39 -04:00
parent 819ec0b776
commit be63ea7c96
7 changed files with 22 additions and 17 deletions

View File

@@ -5,10 +5,10 @@ import cheerio from 'cheerio';
import URL from 'url-parse';
import fetch from 'node-fetch';
import * as ports from 'port-authority';
import { dest } from '../config';
import { locations } from '../config';
export async function exporter(export_dir: string) {
const build_dir = dest();
const build_dir = locations.dest();
// Prep output directory
sander.rimrafSync(export_dir);