@pgxsinkit/pgwasm-c 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,11 +21,13 @@ referenced as `new URL("…", import.meta.url)`, so bundlers copy and fingerprin
|
|
|
21
21
|
## Bundlers
|
|
22
22
|
|
|
23
23
|
Vite: exclude the package from dependency pre-bundling, which would move the module away from its
|
|
24
|
-
files
|
|
24
|
+
files. Exclude `@pgxsinkit/pgwasm` with it, so the dev server loads pgwasm once, and list both in the
|
|
25
|
+
app's own dependencies: Vite resolves an excluded package from the app, even when another package
|
|
26
|
+
imports it.
|
|
25
27
|
|
|
26
28
|
```ts
|
|
27
29
|
// vite.config.ts
|
|
28
|
-
export default defineConfig({ optimizeDeps: { exclude: ["@pgxsinkit/pgwasm-c"] } });
|
|
30
|
+
export default defineConfig({ optimizeDeps: { exclude: ["@pgxsinkit/pgwasm", "@pgxsinkit/pgwasm-c"] } });
|
|
29
31
|
```
|
|
30
32
|
|
|
31
33
|
## Warming the artefacts early
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgxsinkit/pgwasm-c",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"license": "PostgreSQL",
|
|
5
5
|
"files": [
|
|
6
6
|
"artefacts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"build": "bun --cwd ../.. run build:public-packages"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@pgxsinkit/pgwasm": "0.5.
|
|
50
|
+
"@pgxsinkit/pgwasm": "0.5.2"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|