@modern-js/server-utils 3.0.5 → 3.1.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.
@@ -83,9 +83,9 @@ const compileByTs = async (appDirectory, config, compileOptions)=>{
83
83
  rootNames,
84
84
  projectReferences,
85
85
  options: {
86
+ ...options,
86
87
  rootDir: appDirectory,
87
- outDir: distDir,
88
- ...options
88
+ outDir: distDir
89
89
  }
90
90
  });
91
91
  const tsconfigPathsPlugin = (0, external_tsconfigPathsPlugin_js_namespaceObject.tsconfigPathsBeforeHookFactory)(ts, absoluteBaseUrl, paths);
@@ -45,9 +45,9 @@ const compileByTs = async (appDirectory, config, compileOptions)=>{
45
45
  rootNames,
46
46
  projectReferences,
47
47
  options: {
48
+ ...options,
48
49
  rootDir: appDirectory,
49
- outDir: distDir,
50
- ...options
50
+ outDir: distDir
51
51
  }
52
52
  });
53
53
  const tsconfigPathsPlugin = tsconfigPathsBeforeHookFactory(ts, absoluteBaseUrl, paths);
@@ -46,9 +46,9 @@ const compileByTs = async (appDirectory, config, compileOptions)=>{
46
46
  rootNames,
47
47
  projectReferences,
48
48
  options: {
49
+ ...options,
49
50
  rootDir: appDirectory,
50
- outDir: distDir,
51
- ...options
51
+ outDir: distDir
52
52
  }
53
53
  });
54
54
  const tsconfigPathsPlugin = tsconfigPathsBeforeHookFactory(ts, absoluteBaseUrl, paths);
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.0.5",
18
+ "version": "3.1.0",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -38,14 +38,14 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@swc/helpers": "^0.5.17",
41
- "@modern-js/utils": "3.0.5"
41
+ "@modern-js/utils": "3.1.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rslib/core": "0.19.6",
45
45
  "@types/node": "^20",
46
46
  "typescript": "^5",
47
47
  "@modern-js/rslib": "2.68.10",
48
- "@modern-js/server-core": "3.0.5",
48
+ "@modern-js/server-core": "3.1.0",
49
49
  "@scripts/rstest-config": "2.66.0"
50
50
  },
51
51
  "sideEffects": false,