@m00rl0ck/simple-builder 1.1.3 β 1.1.4
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 +141 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# β‘ Simple Builder
|
|
2
|
+
|
|
3
|
+
> Zero-deps JavaScript bundler. Fast, minimal, under your control.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## π€ Why?
|
|
8
|
+
|
|
9
|
+
Modern tools like Webpack and Vite are powerful⦠but often **overkill**.
|
|
10
|
+
|
|
11
|
+
* Too many dependencies
|
|
12
|
+
* Hard to understand whatβs going on
|
|
13
|
+
* Configs become a mess
|
|
14
|
+
|
|
15
|
+
**Simple Builder** exists for one reason:
|
|
16
|
+
|
|
17
|
+
> Give you a bundler you actually understand.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## π Features
|
|
22
|
+
|
|
23
|
+
* β‘ Zero dependencies
|
|
24
|
+
* π¦ ES Modules support
|
|
25
|
+
* π₯ Super fast builds
|
|
26
|
+
* π§ Simple and predictable behavior
|
|
27
|
+
* πͺΆ Lightweight (no bloat)
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## π¦ Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install simple-builder
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## βοΈ Usage
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
simple-builder build
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Or with config:
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import { build } from 'simple-builder';
|
|
49
|
+
|
|
50
|
+
build({
|
|
51
|
+
entry: './src/app.js',
|
|
52
|
+
output: './dist/bundle.js'
|
|
53
|
+
});
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## π§© Example
|
|
59
|
+
|
|
60
|
+
```js
|
|
61
|
+
// app.js
|
|
62
|
+
import { hello } from './hello.js';
|
|
63
|
+
|
|
64
|
+
hello();
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
π Run build β get a single bundled file.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## π Why choose Simple Builder?
|
|
72
|
+
|
|
73
|
+
| Feature | Simple Builder | Webpack | Vite |
|
|
74
|
+
| ------------------ | -------------- | ------- | ---- |
|
|
75
|
+
| Zero deps | β
| β | β |
|
|
76
|
+
| Easy to understand | β
| β | β οΈ |
|
|
77
|
+
| Minimal config | β
| β | β
|
|
|
78
|
+
| Full control | β
| β οΈ | β οΈ |
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## π‘ Philosophy
|
|
83
|
+
|
|
84
|
+
* No magic
|
|
85
|
+
* No hidden behavior
|
|
86
|
+
* Just JavaScript
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## π₯ Pro Version
|
|
91
|
+
|
|
92
|
+
Want more power?
|
|
93
|
+
|
|
94
|
+
### π Simple Builder Pro includes:
|
|
95
|
+
|
|
96
|
+
* π Watch mode
|
|
97
|
+
* β‘ Advanced caching
|
|
98
|
+
* π Plugin system
|
|
99
|
+
* π Built-in minifier
|
|
100
|
+
* π Production optimizations
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## π³ Get Pro
|
|
105
|
+
|
|
106
|
+
Unlock all features and speed up your workflow:
|
|
107
|
+
|
|
108
|
+
π Get access to Pro version
|
|
109
|
+
|
|
110
|
+
(coming soon)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## π£ Roadmap
|
|
115
|
+
|
|
116
|
+
* [ ] Watch mode
|
|
117
|
+
* [ ] Plugin API
|
|
118
|
+
* [ ] Minifier
|
|
119
|
+
* [ ] Dev server improvements
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## π€ Contributing
|
|
124
|
+
|
|
125
|
+
PRs are welcome. Keep it simple.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## β Support
|
|
130
|
+
|
|
131
|
+
If you like this project:
|
|
132
|
+
|
|
133
|
+
* Star the repo
|
|
134
|
+
* Share it
|
|
135
|
+
* Use it in your projects
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## π§ Final thought
|
|
140
|
+
|
|
141
|
+
> Tools should work for you, not the other way around.
|