Skip to content

Commit

Permalink
build: try removing overrides, add react as runtime dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Jun 4, 2024
1 parent 458f4bc commit 40d5e3a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
dist
.turbo
*.tsbuildinfo
styles
styles
.DS_Store
3 changes: 0 additions & 3 deletions libra.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export default defineConfig({
outDir: 'dist',
viteConfig: () => {
return {
build: {
outDir: resolve(process.cwd(), 'dist'),
},
resolve: {
alias: {
'@styles/css': resolve(__dirname, './styles/css')
Expand Down
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"url": "https://github.com/jonambas/sweatpants/issues"
},
"homepage": "https://github.com/jonambas/sweatpants#readme",
"dependencies": {
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@changesets/cli": "2.27.5",
"@pandacss/dev": "0.40.1",
Expand All @@ -34,22 +38,13 @@
"@types/react-dom": "18.3.0",
"framer-motion": "11.2.9",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.7",
"rollup": "4.18.0",
"rollup-plugin-bundle-size": "1.0.3",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"typescript": "5.4.5"
},
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup-plugin-preserve-directives": {
"rollup": "^4.0.0"
}
},
"engines": {
"node": "20.x",
"pnpm": "9.x"
Expand Down
13 changes: 7 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40d5e3a

Please sign in to comment.