2.0.16 • Published 2 years ago
@eslym/rs4r v2.0.16
Rollup Svelte for RED
Build svelte for Node-RED with rollup, please check the example for usage.
This project is inspired by and compatible with svelte-integration-red, please check it out for svelte components.
Project Directory structure
package.jsonrollup.config.jssrcnodes{node-name}index.{md,html}(node help)index.svelte(node editor UI)index.js(node main file)
lib(alias as$lib, only exists for back-end)editor(alias as$editor, only exists for front-end)shared(alias as$shared, exists for both)
Aliases
| Alias | Path | Description |
|---|---|---|
$lib | src/lib | For back-end, the directory contains all the files that will be bundled. |
$editor | src/editor | For front-end, the directory contains all the files that will be bundled. |
$shared | src/shared | The directory contains all the files that will be bundled for both. |
$package.json | package.json | The package.json file in the project root directory. |
*?red-icon | * | Import as asset name, will auto output to icons directory. |
*?red-res | * | Import as path for editor resource, the string will include the reousrces/${package.name}/ prefix |
Important
This builder will auto discover all nodes in src/nodes directory, add add them into package.json in dist directorym, so anyone using this builder will need to publish the dist directory instead of the project root directory.
2.0.16
2 years ago
2.0.15
2 years ago
2.0.14
2 years ago
2.0.13
2 years ago
2.0.12
2 years ago
2.0.11
2 years ago
2.0.10
2 years ago
2.0.9
2 years ago
2.0.8
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.2.0-beta.3
2 years ago
1.2.0-beta.2
2 years ago
1.2.0-beta.1
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.0-beta.1
2 years ago
1.0.0-beta.0
2 years ago