@rpcbase/vite 0.106.0 → 0.108.0

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.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -206,6 +206,7 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
206
206
  // "react", "react-dom",
207
207
  "cookie",
208
208
  "mongoose",
209
+ "mongodb",
209
210
  ],
210
211
  noExternal: [
211
212
  ...rbPackagesNeedingEnvPolyfill,
@@ -216,11 +217,13 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
216
217
  include: [
217
218
  // Force RPC Base packages through esbuild so rb-env-polyfill injects before their dist code touches globalThis.__rb_env__
218
219
  ...rbPackagesNeedingEnvPolyfill,
220
+ "hoist-non-react-statics",
219
221
  // "react", "react-dom", "react-dom/server"
220
222
  // "cookie"
221
223
  ],
222
224
  exclude: [
223
225
  "@radix-ui/*",
226
+ "@rpcbase/ui",
224
227
  // TMP only in sample app?
225
228
  // "react", "react-dom/server",
226
229
  // "react-hook-form",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/vite",
3
- "version": "0.106.0",
3
+ "version": "0.108.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "index.js",