[infra] creat ts library for collect snippets

This commit is contained in:
2023-06-27 21:19:48 +03:00
parent 705883cbca
commit 5f22e1115f
12 changed files with 398 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'
export default defineConfig({
build: {
lib: {
entry: './lib/main.ts',
name: 'Counter',
fileName: 'counter'
}
}
})