quickbundle 0.0.0-next-5441a21 → 0.0.0-next-d7a6419
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 +13 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
Quickbundle allows you to bundle a library in a **quick**, **fast** and **easy** way:
|
|
12
12
|
|
|
13
13
|
- Fast build and watch mode powered by Rollup[^1] and SWC[^2].
|
|
14
|
+
- Compile mode to distribute standalone binaries to a system that does not have Node.js installed (see [single executable applications](https://nodejs.org/api/single-executable-applications.html)).
|
|
14
15
|
- Zero configuration: define the build artifacts in your `package.json`, and you're all set!
|
|
15
16
|
- Support of `cjs` & `esm` module formats output.
|
|
16
17
|
- Support of several loaders including JavaScript, TypeScript, JSX, JSON, and Images.
|
|
@@ -38,6 +39,9 @@ yarn add quickbundle
|
|
|
38
39
|
|
|
39
40
|
2️⃣ Set up your package configuration (`package.json`):
|
|
40
41
|
|
|
42
|
+
<details>
|
|
43
|
+
<summary><strong>For building libraries</strong></summary>
|
|
44
|
+
|
|
41
45
|
- When exporting exclusively ESM format:
|
|
42
46
|
|
|
43
47
|
```jsonc
|
|
@@ -90,6 +94,15 @@ yarn add quickbundle
|
|
|
90
94
|
}
|
|
91
95
|
```
|
|
92
96
|
|
|
97
|
+
</details>
|
|
98
|
+
|
|
99
|
+
<details>
|
|
100
|
+
<summary><strong>For compiling single executable applications</strong></summary>
|
|
101
|
+
|
|
102
|
+
TODO
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
93
106
|
3️⃣ Try it by running:
|
|
94
107
|
|
|
95
108
|
```bash
|
package/dist/index.mjs
CHANGED