fix: temp frontend deployment bug

This commit is contained in:
Vivian Phung 2024-06-25 00:58:13 -04:00
parent 49de738220
commit 35b01c5749
No known key found for this signature in database

View File

@ -13,13 +13,12 @@ export default defineConfig({
context: '/src/context', context: '/src/context',
components: '/src/components', components: '/src/components',
pages: '/src/pages', pages: '/src/pages',
types: '/src/types',
}, },
}, },
define: { define: {
'process.env': {}, 'process.env': {},
__VERSION__: JSON.stringify( // __VERSION__: JSON.stringify(
(await promisify(exec)('git rev-parse --short HEAD')).stdout.trim(), // (await promisify(exec)('git rev-parse --short HEAD')).stdout.trim(),
), // ),
}, },
}); });