mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 15:09:10 +00:00
Refactor/time formatting (#696)
* chore: upgrade related dependencies * fix: skip sentry on dev * refactor: unify time formatting * refactor: display default format for page
This commit is contained in:
@@ -8,13 +8,13 @@ import svgrPlugin from 'vite-plugin-svgr';
|
||||
import { ONTIME_VERSION } from './src/ONTIME_VERSION';
|
||||
|
||||
const sentryAuthToken = process.env.SENTRY_AUTH_TOKEN;
|
||||
const isLocal = process.env.NODE_ENV === 'local';
|
||||
const isDev = process.env.NODE_ENV === 'local' || process.env.NODE_ENV === 'development';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
svgrPlugin(),
|
||||
!isLocal &&
|
||||
!isDev &&
|
||||
sentryVitePlugin({
|
||||
org: 'get-ontime',
|
||||
project: 'ontime',
|
||||
|
||||
Reference in New Issue
Block a user