mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 04:40:17 +03:00
feat: Новый кросс платформенный вьювер
This commit is contained in:
14
tsup.viewer.config.ts
Normal file
14
tsup.viewer.config.ts
Normal 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'],
|
||||
})
|
||||
Reference in New Issue
Block a user