@razerspine/webpack-core 1.9.0 → 1.10.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 +14 -0
- package/README.md +34 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ required to ensure correct behavior in both development and production modes.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## [1.10.0] - 2026-03-13
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **Dependency Update**: Upgraded `pug-plugin` to `^6.1.0`.
|
|
15
|
+
- Fixes vulnerabilities in transitive dependencies by forcing `minimatch@10` and `glob@13`.
|
|
16
|
+
- Includes the latest `html-bundler-webpack-plugin` for improved asset handling.
|
|
17
|
+
- **Environment Requirements**: Updated minimum required **Node.js version to 20**.
|
|
18
|
+
- **Cleanup**: Prepared for the removal of manual `overrides` in consumer templates (resolves [issue #110](https://github.com/webdiscus/pug-plugin/issues/110)).
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- **Security**: Eliminated deep-level dependency warnings related to older versions of `glob` and `minimatch`.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
11
25
|
## [1.9.0] - 2026-03-13
|
|
12
26
|
|
|
13
27
|
### Added
|
package/README.md
CHANGED
|
@@ -9,6 +9,40 @@ Core webpack configuration and loaders for **Pug-based** projects.
|
|
|
9
9
|
This package provides a stable, production-safe webpack foundation for template-driven builds using `pug-plugin`, now
|
|
10
10
|
with **Smart Auto-Hosting** support.
|
|
11
11
|
|
|
12
|
+
# ⚠️ DEPRECATED ⚠️
|
|
13
|
+
|
|
14
|
+
**This package has been officially moved and renamed
|
|
15
|
+
to [@razerspine/build](https://www.npmjs.com/package/@razerspine/build).**
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
### ❓ Why?
|
|
20
|
+
|
|
21
|
+
Starting from version **1.0.0**, the project has undergone a complete architectural redesign. We’ve moved from a rigid
|
|
22
|
+
Webpack configuration to a modular, plugin-based build system that supports:
|
|
23
|
+
|
|
24
|
+
- **New `defineConfig` API** for better DX.
|
|
25
|
+
- **Multi-engine support** (Pug, HTML, or none).
|
|
26
|
+
- **React Fast Refresh** (via `reactPreset`).
|
|
27
|
+
- **Smart Auto-Hosting** detection (Vercel, Netlify, etc.).
|
|
28
|
+
|
|
29
|
+
### 🛠 Migration
|
|
30
|
+
|
|
31
|
+
To stay up to date with the latest features and security fixes, please migrate to the new package:
|
|
32
|
+
|
|
33
|
+
1. **Uninstall the old package:**
|
|
34
|
+
```bash
|
|
35
|
+
npm uninstall @razerspine/webpack-core
|
|
36
|
+
```
|
|
37
|
+
2. **Install the new one**:
|
|
38
|
+
```bash
|
|
39
|
+
npm install -D @razerspine/build
|
|
40
|
+
```
|
|
41
|
+
3. **Update your config**:
|
|
42
|
+
|
|
43
|
+
The internal API has changed. Please refer to the new documentation to update your `webpack.config.js`
|
|
44
|
+
|
|
45
|
+
|
|
12
46
|
---
|
|
13
47
|
|
|
14
48
|
## 🚀 Key Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razerspine/webpack-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Core webpack config and loaders for starter templates",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"webpack": "^5.105.0",
|
|
43
43
|
"webpack-dev-server": "^5.2.3",
|
|
44
44
|
"webpack-merge": "^5.10.0",
|
|
45
|
-
"pug-plugin": "^6.
|
|
45
|
+
"pug-plugin": "^6.1.0"
|
|
46
46
|
}
|
|
47
47
|
}
|