addons/components/vite.config.tsblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318import react from '@vitejs/plugin-react';
b69ab319import {defineConfig} from 'vite';
b69ab3110// @ts-expect-error vite-plugin-stylex import expects module format
b69ab3111import styleX from 'vite-plugin-stylex';
b69ab3112import viteTsconfigPaths from 'vite-tsconfig-paths';
b69ab3113
b69ab3114export default defineConfig({
b69ab3115 plugins: [react(), styleX(), viteTsconfigPaths()],
b69ab3116});