Skip to content

Commit

Permalink
fix styles (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored May 13, 2024
1 parent bff2157 commit 887f0b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui-src/main.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default defineConfig({
emptyOutDir: false,
target: 'esnext',
reportCompressedSize: false,
outDir: '../dist'
outDir: '../dist',
rollupOptions: {
external: ['!../css/base.css']
}
}
});

0 comments on commit 887f0b9

Please sign in to comment.