@rpcbase/vite 0.79.0 → 0.81.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 +7 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -110,7 +110,7 @@ export {resolveAliases}
110
110
  const rbPackagesNeedingEnvPolyfill = [
111
111
  "@rpcbase/auth",
112
112
  "@rpcbase/env",
113
- "@rpcbase/env/polyfill",
113
+ // "@rpcbase/env/polyfill",
114
114
  "@rpcbase/server",
115
115
  "@rpcbase/client",
116
116
  "@rpcbase/form",
@@ -153,7 +153,8 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
153
153
  inlinePattern: ["**/*.css"],
154
154
  removeViteModuleLoader: false
155
155
  }),
156
- isProduction && posthogSourcemapsPlugin({}),
156
+ // eslint-disable-next-line no-constant-binary-expression
157
+ false && isProduction && posthogSourcemapsPlugin({}),
157
158
  ].filter(Boolean),
158
159
  define: {
159
160
  __vite_env__: runtimeEnv,
@@ -186,7 +187,10 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
186
187
  alias: {
187
188
  ...resolveAliases,
188
189
  },
189
- dedupe: ["react", "react-dom", "react-router", "react-hook-form"],
190
+ dedupe: [
191
+ "react", "react-dom",
192
+ "react-router", "react-hook-form"
193
+ ],
190
194
  preserveSymlinks: true,
191
195
  },
192
196
  ssr: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/vite",
3
- "version": "0.79.0",
3
+ "version": "0.81.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {
@@ -38,7 +38,7 @@
38
38
  "react": "19.2.0",
39
39
  "react-dom": "19.2.0",
40
40
  "react-hook-form": "7.66.0",
41
- "react-router": "7.9.5",
41
+ "react-router": "7.9.6",
42
42
  "react-use": "17.6.0",
43
43
  "tailwindcss": "4.1.17",
44
44
  "validator": "13.15.23",