Compare commits

..

2 Commits

Author SHA1 Message Date
Rich Harris
727782aca2 -> v0.0.3 2017-12-11 13:13:00 -05:00
Rich Harris
b6f789e50c use absolute path 2017-12-11 13:12:51 -05:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "sapper",
"version": "0.0.2",
"version": "0.0.3",
"description": "Combat-ready apps, engineered by Svelte",
"main": "connect.js",
"directories": {

View File

@@ -15,7 +15,8 @@ module.exports = function create_app(routes, dest, matchers, dev) {
return `
if (${condition}) {
import('../routes/${matcher.file}').then(render);
// TODO set params, if applicable
import('${routes}/${matcher.file}').then(render);
}
`.replace(/^\t{3}/gm, '').trim();
})