@rpcbase/vite 0.5.0 → 0.6.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 +1 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -54,7 +54,7 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
54
54
  clearScreen: false,
55
55
  plugins: [react(), tailwindcss()],
56
56
  define: {
57
- "process.env": {
57
+ "__vite_env__": {
58
58
  ...env,
59
59
  },
60
60
  },
@@ -118,10 +118,6 @@ export const extendConfig = (userConfig) => {
118
118
  const baseConfig = getBaseConfig({ command, mode, isSsrBuild, isPreview })
119
119
  return mergeConfig(baseConfig, config)
120
120
  })
121
-
122
- // return defineConfig(())
123
- // // userConfig /*: Record<string, any>*/
124
- // return mergeConfig(defineConfig(baseConfig), userConfig)
125
121
  }
126
122
 
127
123
  export const createServer = async (config /* : Record<string, any>*/) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/vite",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {