diff --git a/packages/suika/src/index.tsx b/packages/suika/src/index.tsx index 55c861e3..b3fcaed9 100644 --- a/packages/suika/src/index.tsx +++ b/packages/suika/src/index.tsx @@ -6,12 +6,6 @@ import App from './App'; import '@suika/core/dist/style.css'; import '@suika/components/dist/style.css'; -// vite does not automatically import styles when referencing other packages, you need to manually import them -// TODO: FIXME: find a better way to do this -if (import.meta.env.PROD) { - import('@suika/components/dist/style.css'); -} - const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement, );