'use strict'; const assert = require('node:assert/strict'); const fs = require('node:fs'); const path = require('node:path'); const vm = require('node:vm'); const { createRequire } = require('node:module'); const roots = ['.', 'release/UNIVERSAL_SpineViewer']; for (const root of roots) { const html = fs.readFileSync(path.join(root, 'viewer/spine.html'), 'utf8'); const css = fs.readFileSync(path.join(root, 'viewer/spine.css'), 'utf8'); const script = html.match(/