You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rsbuild v1.0.18
➜ Local: http://localhost:3000/
➜ press h + enter to show shortcuts
start Building...
Unable to compile federated types, Error: compile TS failed, the original command is 'npx tsc --project /.../rsbuild-module-federation-expose-css/node_modules/.federation/tsconfig.e07ef79f09f2fbe10fad1aef5b91acd4.json'
Error: ENOENT: no such file or directory, open '/.../rsbuild-module-federation-expose-css/dist/@mf-types.zip'
Output of npx tsc --project /...rsbuild-module-federation-expose-css/node_modules/.federation/tsconfig.e07ef79f09f2fbe10fad1aef5b91acd4.json:
error TS6054: File '/.../rsbuild-module-federation-expose-css/src/App.css' has an unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts', '.cts', '.d.cts', '.mts', '.d.mts'.
The file is in the program because:
Part of 'files' list in tsconfig.json
node_modules/.federation/tsconfig.e07ef79f09f2fbe10fad1aef5b91acd4.json:28:5
28 "/.../rsbuild-module-federation-expose-css/src/App.css",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File is matched by 'files' list specified here.
Found 1 error.
I did, and it works, but I saw in the examples that there was an ability to expose the CSS file directly, and I thought that maybe something was broken.
Describe the bug
Exposing of a .css file doesn't work.
Output of
rsbuild dev --open
:Output of
npx tsc --project /...rsbuild-module-federation-expose-css/node_modules/.federation/tsconfig.e07ef79f09f2fbe10fad1aef5b91acd4.json
:rsbuild.config.ts
:Reproduction
https://github.com/intpp/rsbuild-module-federation-expose-css
Used Package Manager
pnpm
System Info
Validations
The text was updated successfully, but these errors were encountered: