always write to .sapper, not templates, since we cant guarantee fs access

This commit is contained in:
Rich Harris
2017-12-17 15:04:20 -05:00
parent 8b50ff34b8
commit b7ac067459
3 changed files with 8 additions and 8 deletions

View File

@@ -11,6 +11,4 @@ exports.dest = path.resolve(
process.env.SAPPER_DEST || '.sapper'
);
exports.main_built = path.resolve('templates/.main.tmp.js');
exports.server_routes = path.resolve(exports.dest, 'server-routes.js');