@rpcbase/vite 0.51.0 → 0.52.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 -7
  2. package/package.json +1 -2
package/index.js CHANGED
@@ -8,7 +8,6 @@ import {
8
8
  loadEnv,
9
9
  } from "vite"
10
10
  import { viteSingleFile } from "vite-plugin-singlefile"
11
- import { sentryVitePlugin } from "@sentry/vite-plugin"
12
11
  import react from "@vitejs/plugin-react-swc"
13
12
  import { createHtmlPlugin } from "vite-plugin-html"
14
13
 
@@ -16,7 +15,7 @@ import { createHtmlPlugin } from "vite-plugin-html"
16
15
  const ALLOWED_DEV_ENV = ["NODE_ENV", "APP_NAME"]
17
16
 
18
17
  const isProduction = process.env.NODE_ENV === "production"
19
- const isCI = process.env.CI === "true"
18
+ // const isCI = process.env.CI === "true"
20
19
 
21
20
  // https://github.com/vbenjs/vite-plugin-html?tab=readme-ov-file#minifyoptions
22
21
  const htmlMinifyOptions = {
@@ -84,11 +83,6 @@ const getBaseConfig = ({ command, mode, isSsrBuild, isPreview }) => {
84
83
  // IMPORTANT: minify removes comments by default, which are used by the app ssr
85
84
  minify: htmlMinifyOptions,
86
85
  }),
87
- isCI && sentryVitePlugin({
88
- org: process.env.SENTRY_ORG,
89
- project: process.env.SENTRY_PROJECT,
90
- authToken: process.env.SENTRY_AUTH_TOKEN,
91
- }),
92
86
  viteSingleFile({
93
87
  inlinePattern: ["**/*.css"],
94
88
  removeViteModuleLoader: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/vite",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {
@@ -26,7 +26,6 @@
26
26
  "dependencies": {
27
27
  "@headlessui/react": "2.2.4",
28
28
  "@hookform/resolvers": "5.1.1",
29
- "@sentry/vite-plugin": "3.5.0",
30
29
  "@swc/core": "1.12.7",
31
30
  "@tailwindcss/vite": "4.1.11",
32
31
  "@vitejs/plugin-react-swc": "3.10.2",