jspackr 0.1.1 → 0.2.0

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.
Files changed (3) hide show
  1. package/README.md +13 -9
  2. package/bin/jspackr +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -23,6 +23,8 @@ Run it, get your bundle, move on.
23
23
  - ✂️ Optional minification
24
24
  - 📊 Simple build report to see top contributors
25
25
  - 🧠 Sensible CLI UX with shorthand flags
26
+ - 🔄️ Watch mode for development
27
+ - 🗺️ Source maps support (none, linked, inline)
26
28
 
27
29
  ## Installation
28
30
 
@@ -43,20 +45,22 @@ jspackr src/index.js
43
45
  -> With options:
44
46
 
45
47
  ```bash
46
- jspackr -i src/index.js -o dist/app.js -m -r
48
+ jspackr -i src/index.js -o dist/app.js -m -r -w
47
49
  ```
48
50
 
49
51
  ## CLI Options
50
52
 
51
- | Flag | Long Form | Description |
52
- | ---- | --------------- | ------------------------------------- |
53
- | -i | --input \<file> | Entry file |
54
- | -o | --out \<file> | Output file (default: dist/bundle.js) |
55
- | -m | --minify | Minify output |
56
- | -r | --report | Show build report |
57
- | -h | --help | Show help |
53
+ | Flag | Long Form | Description |
54
+ | ---- | --------------- | ----------------------------------------- |
55
+ | -i | --input \<file> | Entry file |
56
+ | -o | --out \<file> | Output file (default: dist/bundle.js) |
57
+ | -m | --minify | Minify output |
58
+ | -r | --report | Show build report |
59
+ | -s | --source <mode> | Source map: none, l (linked), in (inline) |
60
+ | -w | --watch | Enable watch mode |
61
+ | -h | --help | Show help |
58
62
 
59
63
  ---
60
64
 
61
- Created with ❤️ by Kaloka Radia Nanda
65
+ Created with ❤️ by Kaloka Radia Nanda
62
66
  Licensed under the MIT License.
package/bin/jspackr CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jspackr",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "A minimal JavaScript bundler powered by esbuild",
5
5
  "bin": {
6
6
  "jspackr": "bin/jspackr"