Skip to content

Commit

Permalink
move react to dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger committed Feb 4, 2025
1 parent 3fce185 commit 2470407
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion packages/promo-pages/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ const result = await Bun.build({
'./src/components/homepage/Pricing.tsx',
],
format: 'esm',
external: ['react', 'react-dom', 'lottie-web', 'hls.js', 'plyr', 'zod'],
external: [
'react',
'react/jsx-runtime',
'react-dom',
'lottie-web',
'hls.js',
'plyr',
'zod',
],
});

for (const output of result.outputs) {
Expand Down
4 changes: 2 additions & 2 deletions packages/promo-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"create-video": "workspace:*",
"hls.js": "1.5.19",
"polished": "4.3.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
"vite": "^5.4.12",
"zod": "3.22.3"
Expand All @@ -38,6 +36,8 @@
"tailwindcss": "4.0.0",
"@tailwindcss/cli": "4.0.0",
"@tailwindcss/vite": "4.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"tailwindcss-scoped-preflight": "3.4.10",
"@vitejs/plugin-react-swc": "^3.5.0",
"tailwind-merge": "2.5.2",
Expand Down

0 comments on commit 2470407

Please sign in to comment.