@modern-js/prod-server 3.9.3 → 3.10.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.
package/README.md CHANGED
@@ -26,5 +26,4 @@ Enable optional features:
26
26
  pnpm run new
27
27
  ```
28
28
 
29
-
30
29
  For more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.9.3",
18
+ "version": "3.10.0",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -48,18 +48,16 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@swc/helpers": "^0.5.17",
51
- "@modern-js/runtime-utils": "3.9.3",
52
- "@modern-js/server-core": "3.9.3",
53
- "@modern-js/utils": "3.9.3"
51
+ "@modern-js/runtime-utils": "3.10.0",
52
+ "@modern-js/server-core": "3.10.0",
53
+ "@modern-js/utils": "3.10.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@rslib/core": "1.0.1",
57
56
  "@types/merge-deep": "^3.0.3",
58
57
  "@types/node": "^20",
59
- "lint-staged": "~13.3.0",
60
58
  "typescript": "^5",
61
- "@modern-js/types": "3.9.3",
62
59
  "@modern-js/rslib": "2.68.10",
60
+ "@modern-js/types": "3.10.0",
63
61
  "@scripts/rstest-config": "2.66.0"
64
62
  },
65
63
  "sideEffects": [],
@@ -71,8 +69,8 @@
71
69
  "registry": "https://registry.npmjs.org/"
72
70
  },
73
71
  "scripts": {
74
- "build": "rslib build",
75
- "dev": "rslib build --watch",
72
+ "build": "rs lib",
73
+ "dev": "rs lib --watch",
76
74
  "test": "rstest --passWithNoTests"
77
75
  }
78
76
  }
@@ -0,0 +1,4 @@
1
+ import { rslibConfig } from '@modern-js/rslib';
2
+ import { define } from 'rstack';
3
+
4
+ define.lib(rslibConfig);
package/rslib.config.mts DELETED
@@ -1,4 +0,0 @@
1
- import { rslibConfig } from '@modern-js/rslib';
2
- import { defineConfig } from '@rslib/core';
3
-
4
- export default defineConfig(rslibConfig);