rsbuild.config.ts 482 B

12345678910111213141516171819
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import { pluginReact } from '@rsbuild/plugin-react';
  6. import { defineConfig } from '@rsbuild/core';
  7. export default defineConfig({
  8. plugins: [pluginReact()],
  9. tools: {
  10. rspack: {
  11. /**
  12. * ignore warnings from @coze-editor/editor/language-typescript
  13. */
  14. ignoreWarnings: [/Critical dependency: the request of a dependency is an expression/],
  15. },
  16. },
  17. });