| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import react from '@vitejs/plugin-react'; |
| 9 | import {defineConfig} from 'vite'; |
| 10 | // @ts-expect-error vite-plugin-stylex import expects module format |
| 11 | import styleX from 'vite-plugin-stylex'; |
| 12 | import viteTsconfigPaths from 'vite-tsconfig-paths'; |
| 13 | |
| 14 | export default defineConfig({ |
| 15 | plugins: [react(), styleX(), viteTsconfigPaths()], |
| 16 | }); |
| 17 | |