@nocobase/build 2.1.0-alpha.25 → 2.1.0-alpha.27

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.
@@ -270,10 +270,10 @@ function deleteServerFiles(cwd, log) {
270
270
  onlyDirectories: true
271
271
  });
272
272
  [...files, ...dirs.filter((item) => !extraClientDirs.includes(item)), ...extraClientDirs].forEach((item) => {
273
- if (item.endsWith(`${import_path.default.sep}client-v2`)) {
273
+ if (item.endsWith(`${import_path.default.sep}client-v2`) || item.endsWith(`/client-v2`)) {
274
274
  return;
275
275
  }
276
- if (item.endsWith(`${import_path.default.sep}client`)) {
276
+ if (item.endsWith(`${import_path.default.sep}client`) || item.endsWith(`/client`)) {
277
277
  return;
278
278
  }
279
279
  import_fs_extra.default.removeSync(item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/build",
3
- "version": "2.1.0-alpha.25",
3
+ "version": "2.1.0-alpha.27",
4
4
  "description": "Library build tool based on rollup.",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "build": "tsup",
54
54
  "build:watch": "tsup --watch"
55
55
  },
56
- "gitHead": "63e4aaa625f3108fe41238e85bb13dee37fe1f48"
56
+ "gitHead": "a340a88d86d3ff7e06d723215b02aa3c122f4870"
57
57
  }