Skip to content

Commit

Permalink
🌈 style: fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
xytoki committed Jun 4, 2024
1 parent ead1a89 commit dc3e84d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,12 @@ export default defineConfig(({ command, mode }) => {
checker({
typescript: true,
vueTsc: true,
eslint: {
lintCommand: 'eslint ./**/*.{js,ts,vue} --ext .js,.ts,.vue',
},
eslint:
command === 'build'
? undefined
: {
lintCommand: 'eslint ./**/*.{js,ts,vue} --ext .js,.ts,.vue',
},
}),
vue(),
AutoImport({
Expand Down
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const useSWC = isCI
? 'compile'
: 'true'
const useSentry = false
// !process.argv.includes('--no-sentry') && process.env.NODE_ENV === 'production' && !!process.env.SENTRY_KEY
// !process.argv.includes('--no-sentry') && process.env.NODE_ENV === 'production' && !!process.env.SENTRY_KEY
process.env.VUE_APP_BUILD = require('dayjs')().format('YYMMDDHHmm')
process.env.VUE_APP_ROUTER_HASH = singleFile ? 'true' : 'false'
process.env.VUE_APP_SINGLEFILE = singleFile ? 'true' : 'false'
Expand Down

0 comments on commit dc3e84d

Please sign in to comment.