Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: chensuyue <suyue.chen@intel.com>
28 lines
535 B
TypeScript
28 lines
535 B
TypeScript
// Copyright (C) 2024 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
additionalData: `@import "./src/styles/styles.scss";`,
|
|
},
|
|
},
|
|
},
|
|
plugins: [react()],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: "jsdom",
|
|
},
|
|
define: {
|
|
"import.meta.env": process.env,
|
|
},
|
|
});
|