From 4764a6ebf2373e198ba954260057f2cfe3027c7f Mon Sep 17 00:00:00 2001 From: Hexus Date: Mon, 17 May 2021 13:32:15 +0100 Subject: [PATCH] #22 #23 #24 #25 Moved README TODOs to GitHub issues --- README.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/README.md b/README.md index 454e394..7850878 100644 --- a/README.md +++ b/README.md @@ -27,39 +27,3 @@ Build and watch for changes: ```bash $ npm run watch ``` - -## TODO - -### Bundle runtime separately - -The Pragma runtime (primarily `FormProcessor`) is only bundled as a side effect of the example project. - -Bundle it separately from the example project after clarifying the shape of Pragma's public API. - -### Bundle components with Webpack - -Stencil currently [only bundles using Rollup](https://stenciljs.com/docs/module-bundling). - -With better [Public Compiler APIs](https://stenciljs.com/blog/stencil-roadmap-fall-2019#public-compiler-apis) it should -instead be possible to compile Stencil components and bundle them as part of Webpack, instead of needing to run two -watches. For now, the two watches are seemingly necessary. - -**Update**: The [Stencil Core Compiler API](https://stenciljs.com/docs/compiler-api) is now documented, but there does -not yet appear to be a Webpack plugin that utilises it. - -### Experiment with extending built-in elements - -Web components can extend built-in HTML elements to inherit functionality and usability. - -Stencil doesn't currently support this in any way, but a keen-eyed developer has found a workaround: -- https://github.com/ionic-team/stencil/issues/1382#issuecomment-833095324 - -Try this out and see if the boilerplate repetition in the Pragma components can be reduced. - -**Note:** This approach doesn't currently include form participation, but the same comment will be updated when the -developer gets around to it. - -### Safer concurrent watches - -Consider using [Concurrently](https://github.com/kimmobrunfeldt/concurrently) for the concurrent Webpack & Stencil -watches. The watch script is currently relying on bash's `&`.