feat: support rewriting urls
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-06-13 02:02:41 +02:00
parent 48dcdefee1
commit 6e50208557
8 changed files with 99 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#comma
### `template`
Type: `Function`<br>
Type: `Function`\
Default: `undefined`\
Returns: `String`
@@ -94,9 +94,6 @@ async function build() {
By default, this plugin supports the `esm` (`es`). Any other format is currently untested as this plugin is in an early state, see [#status](#status)
## Status
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
- Importing JS via `<script src="..." type="module">` tags
- Importing assets using @rollup/plugin-url (which could use an update TBH)