├── .babelrc ├── .gitignore ├── .travis.yml ├── README.md ├── dist ├── rollup-plugin-posthtml-template.cjs.js ├── rollup-plugin-posthtml-template.cjs.js.map ├── rollup-plugin-posthtml-template.es.js └── rollup-plugin-posthtml-template.es.js.map ├── example ├── bar.html ├── bar.sgr ├── bundle.js ├── foo.html ├── foo.sgr ├── index.html ├── main.js └── rollup.config.js ├── package.json ├── rollup.config.js ├── src └── index.js ├── test ├── fixtures │ ├── basic │ │ ├── foo.html │ │ └── main.js │ ├── directives │ │ ├── foo.html │ │ └── main.js │ ├── parser │ │ ├── foo.sgr │ │ └── main.js │ ├── plugins │ │ ├── bar.html │ │ ├── foo.html │ │ └── main.js │ └── template │ │ ├── foo.html │ │ └── main.js └── test.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | *.log 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/README.md -------------------------------------------------------------------------------- /dist/rollup-plugin-posthtml-template.cjs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/dist/rollup-plugin-posthtml-template.cjs.js -------------------------------------------------------------------------------- /dist/rollup-plugin-posthtml-template.cjs.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/dist/rollup-plugin-posthtml-template.cjs.js.map -------------------------------------------------------------------------------- /dist/rollup-plugin-posthtml-template.es.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/dist/rollup-plugin-posthtml-template.es.js -------------------------------------------------------------------------------- /dist/rollup-plugin-posthtml-template.es.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/dist/rollup-plugin-posthtml-template.es.js.map -------------------------------------------------------------------------------- /example/bar.html: -------------------------------------------------------------------------------- 1 |

Bar

2 | -------------------------------------------------------------------------------- /example/bar.sgr: -------------------------------------------------------------------------------- 1 | p Bar 2 | -------------------------------------------------------------------------------- /example/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/example/bundle.js -------------------------------------------------------------------------------- /example/foo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/example/foo.html -------------------------------------------------------------------------------- /example/foo.sgr: -------------------------------------------------------------------------------- 1 | p Foo 2 | include(src='bar.sgr') 3 | p ${ _.baz } 4 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/example/index.html -------------------------------------------------------------------------------- /example/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/example/main.js -------------------------------------------------------------------------------- /example/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/example/rollup.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/src/index.js -------------------------------------------------------------------------------- /test/fixtures/basic/foo.html: -------------------------------------------------------------------------------- 1 |

Foo

2 | -------------------------------------------------------------------------------- /test/fixtures/basic/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/basic/main.js -------------------------------------------------------------------------------- /test/fixtures/directives/foo.html: -------------------------------------------------------------------------------- 1 |

Foo

2 | -------------------------------------------------------------------------------- /test/fixtures/directives/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/directives/main.js -------------------------------------------------------------------------------- /test/fixtures/parser/foo.sgr: -------------------------------------------------------------------------------- 1 | p Foo 2 | -------------------------------------------------------------------------------- /test/fixtures/parser/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/parser/main.js -------------------------------------------------------------------------------- /test/fixtures/plugins/bar.html: -------------------------------------------------------------------------------- 1 |

Bar

2 | -------------------------------------------------------------------------------- /test/fixtures/plugins/foo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/plugins/foo.html -------------------------------------------------------------------------------- /test/fixtures/plugins/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/plugins/main.js -------------------------------------------------------------------------------- /test/fixtures/template/foo.html: -------------------------------------------------------------------------------- 1 |

${ _.text }

2 | -------------------------------------------------------------------------------- /test/fixtures/template/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/fixtures/template/main.js -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/test/test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanilla-IceCream/rollup-plugin-posthtml-template/HEAD/yarn.lock --------------------------------------------------------------------------------