Skip to content

Commit

Permalink
chore: remove useless plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
HADB committed May 15, 2024
1 parent 8bfed01 commit 70010fc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 90 deletions.
20 changes: 1 addition & 19 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { sentryVitePlugin } from '@sentry/vite-plugin'

export default defineNuxtConfig({
site: {
url: 'https://tools.yuanfen.net',
Expand Down Expand Up @@ -57,22 +55,6 @@ export default defineNuxtConfig({
},
},
},
plugins: [
// Setup sentry error reporting with source maps
import.meta.env.APP_ENV === 'prd'
? sentryVitePlugin({
authToken: '910f03f1a685822eee3c9918bdc5240fbbab0397dbb9fe0223fdb6627117cb77',
project: 'yf-tools-web',
org: 'yuanfen',
})
: null,
],
},
/*
* Sentry needs sourcemaps
*/
sourcemap: {
client: true,
server: true,
plugins: [],
},
})
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
"dependencies": {
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.1",
"@icon-park/vue-next": "^1.4.2",
"@lezer/highlight": "^1.2.0",
"@sentry/browser": "^7.114.0",
"@sentry/vue": "^7.114.0",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.9.0",
"codemirror": "^6.0.1",
Expand All @@ -35,7 +32,6 @@
"sortablejs": "^1.15.2",
"sortablejs-vue3": "^1.2.11",
"vue-codemirror": "^6.1.1",
"vue-drag-zone": "2.0.0-rc1",
"vue-json-viewer": "^3.0.4"
},
"devDependencies": {
Expand All @@ -49,7 +45,6 @@
"@nuxt/eslint": "^0.3.12",
"@nuxtjs/color-mode": "^3.4.1",
"@nuxtjs/sitemap": "^5.1.5",
"@sentry/vite-plugin": "^2.16.1",
"@types/crypto-js": "^4.2.2",
"@types/luxon": "^3.4.2",
"@types/node": "^20.12.11",
Expand Down
7 changes: 0 additions & 7 deletions plugins/drag-zone.client.ts

This file was deleted.

6 changes: 0 additions & 6 deletions plugins/icon-park.ts

This file was deleted.

53 changes: 0 additions & 53 deletions plugins/sentry.client.ts

This file was deleted.

0 comments on commit 70010fc

Please sign in to comment.