@utoo/web 1.2.0-rc.7 → 1.2.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
- ⚡ **WASM Powered**: High performance via WebAssembly bindings of the Turbopack-based core.
|
|
11
11
|
- 🛠️ **Web Worker Support**: Offloads heavy bundling tasks to background workers to keep the UI responsive.
|
|
12
12
|
- 🔌 **Webpack Compatibility**: Supports a subset of Webpack configurations in the browser.
|
|
13
|
-
- 📂 **
|
|
13
|
+
- 📂 **Real File System**: Uses Origin Private File System (OPFS) for a Node.js-like file system experience.
|
|
14
14
|
|
|
15
15
|
## 🧠 Core Concepts
|
|
16
16
|
|
|
17
|
-
1. **
|
|
17
|
+
1. **Real File System**: The project lives in the browser's OPFS.
|
|
18
18
|
2. **Project Main Worker**: Core logic runs in a dedicated worker to keep the UI responsive.
|
|
19
19
|
3. **Thread Worker**: Heavy bundling tasks are offloaded to a worker powered by a ported `tokio` runtime.
|
|
20
|
-
4. **
|
|
20
|
+
4. **Loader Worker**: Executes Webpack loaders in a dedicated worker with Node.js polyfills.
|
|
21
|
+
5. **Service Worker**: Acts as a local server to intercept requests and serve built files for preview.
|
|
21
22
|
|
|
22
23
|
## 📦 Installation
|
|
23
24
|
|
|
Binary file
|