0.0.2: Updated docs to reflect current state
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Miel Truyen 2023-05-02 15:47:23 +02:00
parent 9768b3efe5
commit ba07649981
2 changed files with 35 additions and 6 deletions

View File

@ -1,2 +1,28 @@
# 0.0.2
Private release update. Added experimental support for:
- multiple-entrypoints (i.e index.html and admin/index.html)
- Inlined scripts (i.e <script type="module">...</script>)
# 0.0.1 # 0.0.1
Initial private release Initial private release
# Open issues / Short-term ToDo's:
- Implement importing style (#1 linking to a pcss, #2 inlined style)
- Importing html as a JSModule
- Testing on a windows machine and fix whatever issues with paths that come out of it
- Code clean-up / Watch-mode support
- Properly use 'meta' property, and supporting caching
- Supporting 'assets' directly (LoadType) using emitFile({type:'asset',...}). Removes the need for @rollup/plugin-url in small projects (altough it is still the preferred way of including assets)
- Getting rid of the module evaluation step if possible
- Clean up our API, keeping in mind the configurability desired:
- resolving language for inline script/style
- excluding non-relative imports (ie unpkg stuff etc)
- customizing how to import certain things (LoadType)
- support for typescript (might not need extra work, but it should be integrated in tests)
- cjs & iifi supported in tests

View File

@ -95,26 +95,29 @@ By default, this plugin supports the `esm` (`es`). Any other format is currently
## Status ## Status
This plugin is in an early state. As such not everything that is supported yet, and the options may change. This plugin is in an early state. As such not everything that is supported yet, the options are laregely undocumented and may change.
### (Rudimentarily) supported ### (Rudimentarily) supported
- Importing JS via `<script src="..." type="module">` tags - Importing JS via `<script src="..." type="module">` tags
- Importing assets using @rollup/plugin-url (which could use an update TBH) - Importing assets using @rollup/plugin-url (which could use an update TBH)
- Compatibility with other plugins such as @rollup/plugin-node-resolve, @rollup/plugin-babel, @rollup/plugin-commonjs, @rollup/plugin-terser and rollup-plugin-livereload - Compatibility with other plugins such as @rollup/plugin-node-resolve, @rollup/plugin-babel, @rollup/plugin-commonjs, @rollup/plugin-terser and rollup-plugin-livereload
### Not (yet) supported
- Inline scripts (i.e `<script>...</script>`) - Inline scripts (i.e `<script>...</script>`)
### Not (yet/properly) supported
- Plugins importing CSS files - Plugins importing CSS files
- CommonJS (cjs) and IIFI output formats. (Is UMD actually ever used?) - CommonJS (cjs) and IIFI output formats. (Is UMD actually ever used?)
- Overriding which tags to ignore/include - Overriding which DOM-nodes and resulting URLS to ignore/include (in a clean way)
- Other (various) plugins such as those for HMR etc - Other (various) plugins such as typescript, or those for HMR etc
- ... - ...
# Contibuting # Contibuting
You can be helpful by testing, proving helpful feedback, expanding the documentation, responding to issues/questions being reported, resolving the many ToDo`s in the code, implementating features...\ You can be helpful by testing, proving helpful feedback, expanding the documentation, responding to issues/questions being reported, resolving the many ToDo`s in the code, implementating features...\
[Get in touch](mailto:rollup-plugin-html-entry2@cerxes.net) or just dive into [the code](https://git.cerxes.net/rollup-apps/plugin-html) or [issues](https://git.cerxes.net/rollup-apps/plugin-html/issues) [Get in touch](mailto:rollup-plugin-html-entry2@cerxes.net) or just dive into [the code](https://git.cerxes.net/rollup-apps/plugin-html) or [issues](https://git.cerxes.net/rollup-apps/plugin-html/issues).
See also the ToDo-list at the end of the [changelog](./CHANGELOG.md)
# Notes # Notes
## git.cerxes.net ## git.cerxes.net