Skip to content

Commit

Permalink
mini updates:
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTRy committed Dec 1, 2023
1 parent a691779 commit 63d0174
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ dist-ssr
*.sln
*.sw?
package-lock.json
stats.html
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,26 @@
"prettier": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-visualizer": "^5.9.3",
"storybook": "^7.6.1",
"typescript": "^5.0.2",
"vite": "^4.4.0"
},
"peerDependencies": {
"@react-spring/web": "^9.7.3",
"@types/color": "^3.0.3",
"@types/uuid": "^9.0.6",
"color": "^4.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^6.0.7",
"zustand": "^4.3.9",
"color": "^4.2.3",
"uuid": "^9.0.1",
"@react-spring/web": "^9.7.3",
"@types/color": "^3.0.3",
"@types/uuid": "^9.0.6"
"zustand": "^4.3.9"
},
"files": [
"dist"
],
"sideEffects": false,
"main": "./dist/fui.umd.js",
"module": "./dist/fui.es.js",
"types": "./dist/index.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';

import { visualizer } from 'rollup-plugin-visualizer';
import path from 'node:path';
import dts from 'vite-plugin-dts';

Expand All @@ -15,8 +15,11 @@ export default defineConfig({
dts({
insertTypesEntry: true,
}),
visualizer(),
],
build: {
copyPublicDir: false,
minify: true,
lib: {
entry: path.resolve(__dirname, 'src/lib/index.ts'),
name: 'FUI',
Expand Down

0 comments on commit 63d0174

Please sign in to comment.