mirror of
https://github.com/bybrooklyn/alchemist.git
synced 2026-04-18 01:43:34 -04:00
24 lines
799 B
JavaScript
24 lines
799 B
JavaScript
import { fileURLToPath } from 'node:url';
|
|
import { defineConfig } from 'astro/config';
|
|
import react from '@astrojs/react';
|
|
import tailwind from '@astrojs/tailwind';
|
|
|
|
export default defineConfig({
|
|
integrations: [
|
|
react(),
|
|
tailwind({
|
|
applyBaseStyles: false, // We will include our own global.css
|
|
}),
|
|
],
|
|
vite: {
|
|
resolve: {
|
|
alias: {
|
|
'eventemitter3': fileURLToPath(new URL('./src/vendor/eventemitter3.ts', import.meta.url)),
|
|
'prop-types': fileURLToPath(new URL('./src/vendor/prop-types.ts', import.meta.url)),
|
|
'react-transition-group': fileURLToPath(new URL('./src/vendor/react-transition-group.tsx', import.meta.url)),
|
|
'tiny-invariant': fileURLToPath(new URL('./src/vendor/tiny-invariant.ts', import.meta.url)),
|
|
},
|
|
},
|
|
},
|
|
});
|