Live code editor for UI docs (#2351)
* Docausaurus code live editor test * Docusaurus sandpack test * Fix setup * Delete files * Fixes * Complete work * Fix config * Fix config --------- Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
This commit is contained in:
14
front/tsup.config.js
Normal file
14
front/tsup.config.js
Normal file
@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
entry: {"index": './tsup.ui.index.tsx'},
|
||||
treeshake: true,
|
||||
minify: true,
|
||||
verbose: true,
|
||||
dts: true,
|
||||
clean: true,
|
||||
outDir: "../docs/src/ui/generated",
|
||||
noExternal: ['@emotion/react', '@emotion/styled', '@tabler/icons-react', 'hex-rgb']
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user