@maverick-js/signals
Advanced tools
Comparing version 5.6.4 to 5.6.5
@@ -5,5 +5,6 @@ { | ||
"license": "MIT", | ||
"version": "5.6.4", | ||
"version": "5.6.5", | ||
"type": "module", | ||
"types": "dist/types/index.d.ts", | ||
"main": "dist/server/index.cjs", | ||
"module": "dist/prod/index.js", | ||
@@ -61,2 +62,3 @@ "sideEffects": false, | ||
"import": { | ||
"test": "./dist/dev/index.js", | ||
"node": "./dist/server/index.js", | ||
@@ -72,2 +74,3 @@ "deno": "./dist/server/index.js", | ||
"import": { | ||
"test": "./dist/dev/map.js", | ||
"node": "./dist/server/map.js", | ||
@@ -74,0 +77,0 @@ "deno": "./dist/server/map.js", |
@@ -88,2 +88,17 @@ # Signals | ||
## Testing | ||
Effects are currently disabled server-side. In order to run effects during tests you'll need to | ||
configure your bundler's `conditions` field. The following example is for | ||
[Vitest](https://vitest.dev): | ||
```ts | ||
// vite.config.ts | ||
{ | ||
resolve: { | ||
conditions: process.env.VITEST ? ['test'] : undefined, | ||
} | ||
} | ||
``` | ||
## API | ||
@@ -90,0 +105,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95931
674