Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bun run build error: You may need an additional plugin to handle "data:" URIs. #8999

Open
handsomepear opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working need reproduction

Comments

@handsomepear
Copy link

System Info

docker image: oven/bun:1
rsbuild: 1.1.13

Details

Image

使用MF2.0 的自定义运行时插件的时候, 在docker中打包的时候,报错,
使用bun官方镜像 oven/bun:1

× Module build failed:
#14 6.269 ╰─▶ × Reading from "data:text/javascript,import module_federation_bundler_runtime from "/app/node_modules/@module-federation/webpack-bundler-runtime/dist/index.cjs.js"

Rspack supports "data:" and "file:" URIs by default.
#14 6.269 │ You may need an additional plugin to handle "data:" URIs.

Reproduce link

No response

Reproduce Steps

rsbuild build

@handsomepear handsomepear added bug Something isn't working pending triage The issue/PR is currently untouched. labels Jan 13, 2025
@chenjiahan chenjiahan added need reproduction and removed pending triage The issue/PR is currently untouched. labels Jan 13, 2025
Copy link
Contributor

Hello @handsomepear, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need reproduction
Projects
None yet
Development

No branches or pull requests

2 participants