@yungu-fed/rich-text-editor 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -6
  2. package/style.css +0 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yungu-fed/rich-text-editor",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -15,15 +15,11 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "import": "./dist/index.mjs",
17
17
  "require": "./dist/index.js"
18
- },
19
- "./style.css": {
20
- "default": "./style.css"
21
18
  }
22
19
  },
23
20
  "files": [
24
21
  "dist",
25
- "README.md",
26
- "style.css"
22
+ "README.md"
27
23
  ],
28
24
  "peerDependencies": {
29
25
  "@types/react": ">=16.14.0 <20",
package/style.css DELETED
@@ -1,7 +0,0 @@
1
- /*
2
- * 兼容不读取 package.json exports 的老 webpack/roadhog。
3
- * 这些消费端会把 @yungu-fed/rich-text-editor/style.css 当成真实文件解析,
4
- * 不会跟随 exports["./style.css"] 到 dist/index.css。
5
- * 因此发布包必须保留这个根级 CSS 入口,实际样式仍由构建产物 dist/index.css 提供。
6
- */
7
- @import "./dist/index.css";