legacy/pairent_frontend_react/vite.config.js

13 lines
316 B
JavaScript
Raw Permalink Normal View History

2023-05-07 01:51:40 +02:00
import react from '@vitejs/plugin-react'
2023-05-17 06:44:01 +02:00
import * as child from 'child_process';
2023-05-07 01:51:40 +02:00
/** @type {import('vite').UserConfig} */
export default {
plugins: [
react()
2023-05-17 06:44:01 +02:00
],
define: {
BUILD_TIME: new Date(),
// LAST_COMMIT: JSON.stringify(child.execSync("git rev-parse --short HEAD"))
}
2023-05-07 01:51:40 +02:00
}