Skip to content

Commit

Permalink
Attempt to fix solid
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Sep 14, 2024
1 parent 1aa4dc2 commit 842e128
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"terser": "^5.17.1",
"typescript": "^5.4.4",
"vite": "^5.4.4",
"vite-tsconfig-paths": "^4.0.0",
"vitest": "^2.1.0"
},
"dependencies": {
Expand Down
13 changes: 8 additions & 5 deletions packages/solid-urql/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { mergeConfig } from 'vitest/config';
import { defineProject, mergeConfig } from 'vitest/config';
import solidPlugin from 'vite-plugin-solid';
import baseConfig from '../../vitest.config';

export default mergeConfig(baseConfig, {
export default mergeConfig({ ...baseConfig, plugins: [solidPlugin({ hot: false })] }, defineProject({
// Must be pinned to 2.8.2, see: https://github.com/solidjs/vite-plugin-solid/issues/141
plugins: [solidPlugin({ hot: false })],
test: {
environment: 'jsdom'
},
resolve: {
dedupe: ['solid-js'],
},
});
}})
);

41 changes: 41 additions & 0 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 842e128

Please sign in to comment.