diff --git a/apps/example-plugin/vite.config.ts b/apps/example-plugin/vite.config.ts index 3e1dc47..1fa140e 100644 --- a/apps/example-plugin/vite.config.ts +++ b/apps/example-plugin/vite.config.ts @@ -39,6 +39,7 @@ export default defineConfig({ entryFileNames: '[name].js', }, }, + sourcemap: true, }, test: { diff --git a/libs/plugins-runtime/vite.config.ts b/libs/plugins-runtime/vite.config.ts index 3d239ce..b1c6bcd 100644 --- a/libs/plugins-runtime/vite.config.ts +++ b/libs/plugins-runtime/vite.config.ts @@ -43,6 +43,7 @@ export default defineConfig({ // External packages that should not be bundled into your library. external: [], }, + sourcemap: true, }, test: {