@awenate/core
v0.2.1
Published
Shared Awenate bridge runtime and framework-agnostic Vite plugins
Maintainers
Readme
@awenate/core
Shared runtime and framework-agnostic Vite plugins for the Awenate visual
editor. Consumed by @awenate/react and
@awenate/svelte — you normally don't depend on this
package directly.
What's inside
- The prebuilt bridge bundle injected into the preview iframe
(
src/bridge/, built viapnpm build:bridge). vhRewritePlugin(@awenate/core/vh-rewrite)componentPreviewPlugin(@awenate/core/component-preview)sourceLocation(@awenate/core/source-location)cssIndexPlugin(@awenate/core/css-index)- Bridge path helpers (
@awenate/core/bridge)
Scripts
build:bridge— bundle the modularsrc/bridgecode into the injectable script.dev— watch + rebuild the bridge bundle.test— run the bridge unit tests (vitest).
