diff --git a/ui-src/main.tsx b/ui-src/main.tsx index 39a40739..e0b7cb99 100644 --- a/ui-src/main.tsx +++ b/ui-src/main.tsx @@ -1,3 +1,4 @@ +import 'node_modules/@create-figma-plugin/ui/lib/css/base.css'; import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; diff --git a/vite.config.ts b/vite.config.ts index b25d5185..b2428b8f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,6 +18,9 @@ export default defineConfig({ emptyOutDir: false, target: 'esnext', reportCompressedSize: false, - outDir: '../dist' + outDir: '../dist', + rollupOptions: { + external: ['!../css/base.css'] + } } });