feat(*): Enable loading the file and creating a PR in Azure Devops

This commit is contained in:
Joshua Creek
2026-03-05 18:32:45 +00:00
parent 91a8988275
commit 0433fe5c2c
35 changed files with 5503 additions and 776 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from "vite";
import { svelte, vitePreprocess } from "@sveltejs/vite-plugin-svelte";
export default defineConfig({
plugins: [
svelte({
preprocess: vitePreprocess(),
compilerOptions: {
customElement: true,
},
}),
],
build: {
lib: {
entry: "src/main.ts",
formats: ["es", "umd"],
name: "TechRadarEditor",
fileName: (format) => `tech-radar-editor.${format}.js`,
},
cssCodeSplit: false, // Ensure all CSS is bundled together
},
});