From ccd92c84d96b54daa24efba5d527d47ff4233372 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Tue, 4 Feb 2025 20:28:21 -0800 Subject: [PATCH] Add style to editor build --- packages/editor/package.json | 7 ++++--- packages/editor/src/index.ts | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/editor/package.json b/packages/editor/package.json index ef103ed..6e6cd7d 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@welshman/editor", - "version": "0.0.11-pre.1", + "version": "0.0.11-pre.4", "author": "hodlbod", "license": "MIT", "description": "A batteries-included nostr editor.", @@ -17,11 +17,12 @@ "types": "./build/src/index.d.ts", "import": "./build/src/index.js", "require": "./build/src/index.js" - } + }, + "./index.css": "./build/src/index.css" }, "scripts": { "pub": "npm run lint && npm run build && npm publish", - "build": "gts clean && tsc", + "build": "gts clean && tsc && cp src/index.css build/src/index.css", "lint": "gts lint", "fix": "gts fix" }, diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.ts index 682f45d..1cac3bd 100644 --- a/packages/editor/src/index.ts +++ b/packages/editor/src/index.ts @@ -1,5 +1,3 @@ -import "./index.css" - export * from "./nodeviews/index.js" export * from "./extensions/index.js" export * from "./plugins/index.js"