mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-22 07:29:08 +00:00
refactor: remove compiler in favour of linter
This commit is contained in:
committed by
Carlos Valente
parent
aefa4cbf44
commit
310dde4465
@@ -10,19 +10,10 @@ import { ONTIME_VERSION } from './src/ONTIME_VERSION';
|
||||
const sentryAuthToken = process.env.SENTRY_AUTH_TOKEN;
|
||||
const isDev = process.env.NODE_ENV === 'local' || process.env.NODE_ENV === 'development';
|
||||
|
||||
const ReactCompilerConfig = {
|
||||
runtimeModule: '@/mycache',
|
||||
target: '18',
|
||||
};
|
||||
|
||||
export default defineConfig({
|
||||
base: './', // Ontime cloud: we use relative paths to allow them to reference a dynamic base set at runtime
|
||||
plugins: [
|
||||
react({
|
||||
babel: {
|
||||
plugins: [['babel-plugin-react-compiler', ReactCompilerConfig]],
|
||||
},
|
||||
}),
|
||||
react(),
|
||||
svgrPlugin(),
|
||||
!isDev &&
|
||||
sentryVitePlugin({
|
||||
|
||||
Reference in New Issue
Block a user