Add style to editor build

This commit is contained in:
Jon Staab
2025-02-04 20:28:21 -08:00
parent 0964fe762e
commit ccd92c84d9
2 changed files with 4 additions and 5 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/editor", "name": "@welshman/editor",
"version": "0.0.11-pre.1", "version": "0.0.11-pre.4",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A batteries-included nostr editor.", "description": "A batteries-included nostr editor.",
@@ -17,11 +17,12 @@
"types": "./build/src/index.d.ts", "types": "./build/src/index.d.ts",
"import": "./build/src/index.js", "import": "./build/src/index.js",
"require": "./build/src/index.js" "require": "./build/src/index.js"
} },
"./index.css": "./build/src/index.css"
}, },
"scripts": { "scripts": {
"pub": "npm run lint && npm run build && npm publish", "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", "lint": "gts lint",
"fix": "gts fix" "fix": "gts fix"
}, },
-2
View File
@@ -1,5 +1,3 @@
import "./index.css"
export * from "./nodeviews/index.js" export * from "./nodeviews/index.js"
export * from "./extensions/index.js" export * from "./extensions/index.js"
export * from "./plugins/index.js" export * from "./plugins/index.js"