fix(graphql-docs/build): rollup error thrown during build

- during the dts transformation, the css import was not recognized, hence marking it as external in the dts transform didn't throw the error

- "extract: true" in postcss plugin makes sure it gets extracted to the final bundle as well

Signed-off-by: Anik Das <anikdas0811@gmail.com>
This commit is contained in:
Anik Das
2023-09-30 09:49:02 +05:30
parent 08ceed86a8
commit 64019f8ecf
3 changed files with 24 additions and 23 deletions

View File

@@ -1,6 +1,5 @@
import { DocExplorer } from './components/DocExplorer';
// Todo: Rollup throws error
import './index.css';
export { DocExplorer };