@nocobase/build 2.1.0-alpha.26 → 2.1.0-alpha.28
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/lib/buildPlugin.js +2 -2
- package/package.json +2 -2
package/lib/buildPlugin.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "2.1.0-alpha.28",
|
|
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": "
|
|
56
|
+
"gitHead": "e38293c4a1ce4d043d2b17a3067fd4f0341a7a2d"
|
|
57
57
|
}
|