Skip to content

AI-native design editor. Open-source Figma alternative.

fix(core): export io/formats/html (#1401)

Roman Purtov1fb81a540d97
diff --git a/changes/1401/added.md b/changes/1401/added.md
new file mode 100644
index 000000000..a8328b774
--- /dev/null
+++ b/changes/1401/added.md
@@ -0,0 +1 @@
+- `@open-pencil/core/io/formats/html` exports the HTML renderer on its own, like the raster and SVG exporters.
diff --git a/packages/core/package.json b/packages/core/package.json
index b462d121e..bb7733b13 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -109,6 +109,11 @@
"import": "./dist/io/formats/fig/index.js",
"default": "./dist/io/formats/fig/index.js"
},
+ "./io/formats/html": {
+ "types": "./dist/io/formats/html/index.d.ts",
+ "import": "./dist/io/formats/html/index.js",
+ "default": "./dist/io/formats/html/index.js"
+ },
"./io/formats/html/import": {
"types": "./dist/io/formats/html/import.d.ts",
"import": "./dist/io/formats/html/import.js",