Vite to bundle insomnia plugin

This commit is contained in:
Gregory Schier
2023-11-05 22:13:22 -08:00
parent abc6d0ff1e
commit a74c8a94db
12 changed files with 52 additions and 1180 deletions

View File

@@ -0,0 +1,12 @@
import { resolve } from 'path';
import { defineConfig } from 'vite';
export default defineConfig({
build: {
lib: {
entry: resolve(__dirname, 'src/index.js'),
fileName: 'index',
formats: ['es'],
},
},
});