84 lines
4.4 KiB
Plaintext
84 lines
4.4 KiB
Plaintext
> source tools/web/emscripten-env.sh && cmake --build build_web_blender6 --target web_engine -- -j8 && cp build_web_blender6/bin/web_engine.wasm web/app/src/vendor/blender/web_engine.wasm && cp build_web_blender6/bin/web_engine.wasm web/app/public/vendor/blender/web_engine.wasm && node tools/web/split-wbv2-wasm.mjs --input web/app/public/vendor/blender/web_engine.wasm --output-dir web/app/public/vendor/blender/modules/single --split-funcs web_engine_get_live_handles && node tools/web/split-wbv2-wasm.mjs --input web/app/public/vendor/blender/pthread/web_engine.wasm --output-dir web/app/public/vendor/blender/modules/pthread --split-funcs web_engine_get_live_handles
|
||
ninja: no work to do.
|
||
{
|
||
"status": "PASS",
|
||
"input": "web/app/public/vendor/blender/web_engine.wasm",
|
||
"splitFunctions": [
|
||
"web_engine_get_live_handles"
|
||
],
|
||
"primary": {
|
||
"path": "web/app/public/vendor/blender/modules/single/web_engine.primary.wasm",
|
||
"bytes": 11746913,
|
||
"sha256": "b8e4b1f3932e5dfeca0698cbc52c1e4a2c9a6fbc3f90fbad0924c9082529649d"
|
||
},
|
||
"secondary": {
|
||
"path": "web/app/public/vendor/blender/modules/single/web_engine.secondary.wasm",
|
||
"bytes": 80,
|
||
"sha256": "b862e9be41ce56d59c08e3be053498abf7ef8ba5b62b8e844f28c4030ed12390"
|
||
}
|
||
}
|
||
{
|
||
"status": "PASS",
|
||
"input": "web/app/public/vendor/blender/pthread/web_engine.wasm",
|
||
"splitFunctions": [
|
||
"web_engine_get_live_handles"
|
||
],
|
||
"primary": {
|
||
"path": "web/app/public/vendor/blender/modules/pthread/web_engine.primary.wasm",
|
||
"bytes": 383080,
|
||
"sha256": "8da4edd76f69803af66f8684a8e7a59cca33ee7ed2337bc15d1a6369d5269e47"
|
||
},
|
||
"secondary": {
|
||
"path": "web/app/public/vendor/blender/modules/pthread/web_engine.secondary.wasm",
|
||
"bytes": 8,
|
||
"sha256": "93a44bbb96c751218e4c00d479e4c14358122a389acca16205b1e4d0dc5f9476"
|
||
}
|
||
}
|
||
|
||
> npm --prefix web run typecheck
|
||
|
||
> blender-web-editor@0.1.0-rc.1 typecheck
|
||
> tsc -p tsconfig.json --noEmit
|
||
|
||
|
||
> npm --prefix web run build
|
||
|
||
> blender-web-editor@0.1.0-rc.1 build
|
||
> tsc -p tsconfig.json && vite build --config app/vite.config.ts
|
||
|
||
vite v8.2.0 building client environment for production...
|
||
[2K
|
||
transforming...✓ 102 modules transformed.
|
||
rendering chunks...
|
||
computing gzip size...
|
||
dist/index.html 0.58 kB │ gzip: 0.35 kB
|
||
dist/assets/storage.worker-D9TqXsGS.js 66.59 kB
|
||
dist/assets/web-engine.worker-ZZYyTnr9.js 365.44 kB
|
||
dist/assets/viewport-render.worker-BKnJyAEz.js 634.08 kB
|
||
dist/assets/web_engine-C04Dp4ba.wasm 16,243.50 kB │ gzip: 3,858.52 kB
|
||
dist/assets/index-BgTbQCE2.css 15.35 kB │ gzip: 3.91 kB
|
||
dist/assets/index-CKyN7I-M.js 1,190.53 kB │ gzip: 316.75 kB
|
||
|
||
✓ built in 461ms
|
||
[plugin rolldown:vite-resolve] Module "module" has been externalized for browser compatibility, imported by "/home/mes123456/workinf_Blender_Wasm/web/app/src/vendor/blender/web_engine.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
|
||
[plugin builtin:vite-reporter]
|
||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||
- Using dynamic import() to code-split the application
|
||
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
|
||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||
|
||
> WBV2_BATCH_TASK=WBV2-P1281-001 WBV2_BATCH_PRODUCTION=tests/golden/WBV2-P1281-001/mesh-topology-production.json WBV2_BATCH_FIXTURE=tests/files/web/generated/WBV2-P2-003-MESH.EDIT_CORE.blend WBV2_BATCH_OPERATION=DISSOLVE WBV2_BATCH_TYPES='[]' WBV2_BATCH_UNITS='["operator:MESH_OT_dissolve_edges"]' WEB_TEST_PORT=5371 npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-mesh-topology-production.spec.ts
|
||
|
||
> blender-web-editor@0.1.0-rc.1 test:e2e
|
||
> playwright test --config playwright.config.ts --workers=1 tests/e2e/wbv2-mesh-topology-production.spec.ts
|
||
|
||
|
||
Running 1 test using 1 worker
|
||
|
||
✓ 1 tests/e2e/wbv2-mesh-topology-production.spec.ts:17:1 › WBV2-P11-001 executes the six Mesh topology operations through compiled WASM Main (2.0s)
|
||
|
||
1 passed (2.8s)
|
||
[WebServer] (node:2168542) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||
(node:2168596) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|