From b8cb228dd98431fadaef7bf743ba52eb93287946 Mon Sep 17 00:00:00 2001 From: John Schottler Date: Sat, 26 May 2018 19:24:17 -0400 Subject: [PATCH 1/2] link to demo project and tweak example config - change the example config to do a recursive look in the components folder--took me a while to figure out why my component wasn't loading in...error message strangely (or seemingly so) said "Error: Unexpected token" as if it had found the file but failed to parse it. - link to the demo project mentioned in the issues project --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebf93e5..e91b3ad 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ rollup({ // You can restrict which files are compiled // using `include` and `exclude` - include: 'src/components/**.html', + include: 'src/components/**/**.html', // Output format. When doing server-side rendering, you might need to set this // to "cjs" if you import other JS files in your components. @@ -39,6 +39,8 @@ rollup({ }).then(...) ``` +See the (demo project)[https://github.com/Rich-Harris/ractive-rollup-demo] to see how it's used. + ## License MIT From 7b3653c1e02bea9186a69e9560c1b1dcd9a72b6f Mon Sep 17 00:00:00 2001 From: John Schottler Date: Sat, 26 May 2018 19:25:48 -0400 Subject: [PATCH 2/2] oops, goofed the markdown link... --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e91b3ad..deb8958 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ rollup({ }).then(...) ``` -See the (demo project)[https://github.com/Rich-Harris/ractive-rollup-demo] to see how it's used. +See the [demo project](https://github.com/Rich-Harris/ractive-rollup-demo) to see how it's used. ## License