fix: iframe resize #224

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-10 20:29:02 +01:00
parent bbd30ca6e0
commit 931ae55a1c
8 changed files with 285 additions and 168 deletions

View File

@@ -0,0 +1,17 @@
import { defineConfig } from 'vite';
export default defineConfig({
build: {
rollupOptions: {
input: './src/scripts/openpanel-embed.ts',
output: {
format: 'iife',
dir: 'public',
entryFileNames: 'openpanel-embed.js',
name: 'OpenPanelEmbed',
},
},
minify: true,
emptyOutDir: false,
},
});