🔧(react) rollup type files

Previously types file were splitted into their original folder
tree structure. By enabling this option we could just get one
global .d.ts file. To make this more handy I created a dedicated
build bash file, the package.json was starting to get messy.
This commit is contained in:
Nathan Vasse
2023-05-04 15:07:04 +02:00
committed by NathanVss
parent d4a574c30f
commit 7513b4d217
4 changed files with 26 additions and 2 deletions

7
packages/react/build Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
tsc
yarn build-theme
vite build
yarn build-fonts
yarn build-icons
cp -R src/locales dist/