mirror of
https://github.com/beestat/app.git
synced 2026-02-27 05:30:28 -05:00
12 lines
367 B
JavaScript
12 lines
367 B
JavaScript
// Import the straight-skeleton library from CDN
|
|
import { SkeletonBuilder } from 'https://esm.sh/straight-skeleton@2.0.1';
|
|
|
|
// Initialize the WASM module
|
|
await SkeletonBuilder.init();
|
|
|
|
// Expose to global scope so the rest of the codebase can use it
|
|
window.SkeletonBuilder = SkeletonBuilder;
|
|
|
|
// Log confirmation that it's ready
|
|
console.log('SkeletonBuilder ready');
|