Skip to content

[Utoo Pack]: Support run webpack-loader & postcss under web-worker env #2076

@fireairforce

Description

@fireairforce

What problem does this feature solve?

参考目前 turbopack webpack-loader 的执行实现机制: https://github.com/vercel/next.js/blob/canary/turbopack/crates/turbopack-node/js/src/transforms/webpack-loaders.ts

主要通过 rust 通过 ipc 调 node.js 进程去运行 runLoader 完成的, 这里需要把 nodejs 的部分替换成 webworker 部分就可以了,产物部分通过 umd 去验证。

What does the proposed API look like?

No api change

Metadata

Metadata

Assignees

Labels

S-FeatureStatus: new feature to implement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions