@rpcbase/vite 0.43.0 → 0.45.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.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import path from "path"
|
|
2
|
+
|
|
2
3
|
import nocache from "nocache"
|
|
3
4
|
import {
|
|
4
5
|
createServer as viteCreateServer,
|
|
@@ -6,12 +7,12 @@ import {
|
|
|
6
7
|
mergeConfig,
|
|
7
8
|
loadEnv,
|
|
8
9
|
} from "vite"
|
|
9
|
-
|
|
10
10
|
import { viteSingleFile } from "vite-plugin-singlefile"
|
|
11
11
|
import { sentryVitePlugin } from "@sentry/vite-plugin"
|
|
12
12
|
import react from "@vitejs/plugin-react-swc"
|
|
13
13
|
import { createHtmlPlugin } from "vite-plugin-html"
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
const ALLOWED_DEV_ENV = ["NODE_ENV", "APP_NAME"]
|
|
16
17
|
|
|
17
18
|
const isProduction = process.env.NODE_ENV === "production"
|