feat: Новый кросс платформенный вьювер

This commit is contained in:
2026-07-14 09:54:36 +03:00
parent c596f9f1c3
commit 1280eb6fcd
46 changed files with 1440 additions and 785 deletions

14
tsup.viewer.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'tsup'
export default defineConfig({
entry: {
'viewer-element': 'src/viewer-element.ts',
},
format: 'esm',
dts: true,
clean: false,
splitting: false,
sourcemap: true,
target: 'node18',
noExternal: ['lit', 'vanilla-colorful'],
})