@evjs/webpack-plugin 0.0.1-rc.13 → 0.0.1-rc.14

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 (2) hide show
  1. package/AGENT.md +1 -0
  2. package/package.json +3 -3
package/AGENT.md CHANGED
@@ -38,6 +38,7 @@ new EvWebpackPlugin({
38
38
  2. **Client transform** — `server-fn-loader` replaces function bodies with `__fn_call` stubs
39
39
  3. **Server entry generation** — calls `generateServerEntry()` from `@evjs/build-tools`
40
40
  4. **Child compiler** — spawns a webpack child compilation targeting `node` with the server entry
41
+ - **Externals**: all third-party `node_modules` are externalized (essential for native addons like `better-sqlite3`); `@evjs/*` packages are bundled into the CJS output
41
42
  5. **Manifest emission** — writes `manifest.json` via `processAssets` hook
42
43
 
43
44
  ### Output
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/webpack-plugin",
3
- "version": "0.0.1-rc.13",
3
+ "version": "0.0.1-rc.14",
4
4
  "description": "Webpack plugin and loaders for the ev framework",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -36,8 +36,8 @@
36
36
  "author": "xusd320",
37
37
  "license": "MIT",
38
38
  "dependencies": {
39
- "@evjs/build-tools": "0.0.1-rc.13",
40
- "@evjs/manifest": "0.0.1-rc.13"
39
+ "@evjs/build-tools": "0.0.1-rc.14",
40
+ "@evjs/manifest": "0.0.1-rc.14"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.7.3",