balm-core 6.0.0-alpha.0 → 6.0.0-alpha.1
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/CHANGELOG.md +16 -0
- package/dist/index.cjs +538 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -4
- package/dist/index.d.ts +14 -4
- package/dist/index.js +533 -104
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/balm.ts +23 -18
- package/src/bundler/rollup.ts +14 -8
- package/src/bundler/webpack.ts +55 -13
- package/src/config/defaults.ts +1 -1
- package/src/hooks/index.ts +44 -12
- package/src/pipeline/pipeline.ts +36 -33
- package/src/pipeline/transforms/cache.ts +64 -14
- package/src/tasks/cache.ts +15 -1
- package/src/tasks/html.ts +162 -8
- package/src/tasks/index.ts +1 -0
- package/src/tasks/pwa.ts +51 -1
- package/src/tasks/server.ts +95 -1
- package/src/tasks/static.ts +104 -0
- package/src/types/index.ts +2 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# balm-core
|
|
2
|
+
|
|
3
|
+
## 6.0.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- - **balm**: Allow custom CLI options like `--docs`
|
|
8
|
+
- **balm-core**:
|
|
9
|
+
- Add built-in `StaticTask` for copying static assets, icons, fonts, media, and `public/` directory
|
|
10
|
+
- Fix production path mappings in `HtmlTask` from source to target directories (`/styles/` -> `/css/`)
|
|
11
|
+
- Fix hashed entry script resolution and injection in `HtmlTask`
|
|
12
|
+
- Fix `AssetRevisioner` regex matching to avoid `.woff` vs `.woff2` extension replacement collision
|
|
13
|
+
- Prevent double hashing of Webpack bundle chunks
|
|
14
|
+
- Fix PWA task to extract and copy `workbox-sw.js`, replace version placeholders, and output `service-worker.js`
|
|
15
|
+
- Optimize task execution order so mix recipes run before `cache` and `pwa`
|
|
16
|
+
- Fix multi-glob base directory calculation in `Pipeline.src`
|