Skip to content

Commit

Permalink
fix: remove react and react-dom as dependencies (#185)
Browse files Browse the repository at this point in the history
seanes authored Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 91f656b commit 9a74d99
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -10,10 +10,14 @@ import { libInjectCss } from 'vite-plugin-lib-inject-css';
import { viteStaticCopy } from 'vite-plugin-static-copy';
import pkg from './package.json';

const dependencies = Object.keys({
...(pkg.devDependencies || {}),
...(pkg.peerDependencies || {}),
});
const dependencies = [
...Object.keys({
...(pkg.devDependencies || {}),
...(pkg.peerDependencies || {}),
}),
'react',
'react-dom',
];

// https://vitejs.dev/config/
export default () => {

0 comments on commit 9a74d99

Please sign in to comment.