chili3d 0.6.3 → 0.6.5

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.
@@ -2,7 +2,11 @@
2
2
  // See LICENSE file in the project root for full license information.
3
3
 
4
4
  import type { CursorType } from "chili-core";
5
- import draw from "./draw.cur";
5
+ // 替换之前的import语句
6
+ // import draw from "./draw.cur";
7
+
8
+ // 使用URL方式
9
+ const draw = new URL('./draw.cur', import.meta.url).href;
6
10
 
7
11
  const cursors: Map<CursorType, string> = new Map([
8
12
  ["default", "default"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chili3d",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "3D建模引擎",
5
5
  "documentVersion": "0.7",
6
6
  "author": "仙阁",