bytedance--deer-flow
20 行
531 B
TypeScript
20 行
531 B
TypeScript
import { resolve } from "path";
|
|
|
|
import { pluginReact } from "@rsbuild/plugin-react";
|
|
import { defineConfig } from "@rstest/core";
|
|
|
|
export default defineConfig({
|
|
plugins: [pluginReact()],
|
|
resolve: {
|
|
alias: {
|
|
"@": resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
output: {
|
|
// Streamdown imports KaTeX CSS as a side effect. Bundle these packages so
|
|
// Rsbuild processes that CSS import instead of Node trying to load it.
|
|
bundleDependencies: ["streamdown", "katex"],
|
|
},
|
|
include: ["tests/unit/**/*.test.ts"],
|
|
});
|