Add Chromium-only Blender WebEngine parity work
This commit is contained in:
19
docs/web/three-vendor.md
Normal file
19
docs/web/three-vendor.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Three.js 本地资源
|
||||
|
||||
当前使用 Three.js `0.185.1`。运行时模块已从锁定的 npm 包复制到项目源码:
|
||||
|
||||
- `web/app/src/vendor/three/three.module.js`
|
||||
- `web/app/src/vendor/three/three.core.js`
|
||||
- `web/app/src/vendor/three/addons/controls/OrbitControls.js`
|
||||
|
||||
视口适配器只引用上述相对路径,OrbitControls 的裸 `three` 导入也已改为
|
||||
本地相对导入。构建产物把代码打进本地 `index` chunk,不从 CDN 或网页运行时
|
||||
网络加载 Three.js。`@types/three` 仅作为开发期类型依赖。
|
||||
|
||||
## 校验
|
||||
|
||||
```text
|
||||
three.module.js bbf5ed13fe4373f5bd38b14ea8e62e9f157327da5638edc6d3863e08b167c9c7
|
||||
three.core.js 3718df126d69c125362a03340913204470d8c50238605150e57f808840fb7759
|
||||
OrbitControls.js 1e08bf297c9062aa5055a9d649d8a8458c3871aa31c7d600f535a06f567e7cad
|
||||
```
|
||||
Reference in New Issue
Block a user