@nocobase/build 2.0.0-beta.7 → 2.0.0-beta.8
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 +1 -1
- package/package.json +2 -2
package/lib/buildPlugin.js
CHANGED
|
@@ -588,7 +588,7 @@ async function buildPluginClient(cwd, userConfig, sourcemap, log, isCommercial =
|
|
|
588
588
|
module2.source = {
|
|
589
589
|
source: `
|
|
590
590
|
__webpack_require__.p = (function() {
|
|
591
|
-
var publicPath = window['
|
|
591
|
+
var publicPath = window['__webpack_public_path__'] || '/';
|
|
592
592
|
// \u786E\u4FDD\u8DEF\u5F84\u4EE5 / \u7ED3\u5C3E
|
|
593
593
|
if (!publicPath.endsWith('/')) {
|
|
594
594
|
publicPath += '/';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/build",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.8",
|
|
4
4
|
"description": "Library build tool based on rollup.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"build": "tsup",
|
|
55
55
|
"build:watch": "tsup --watch"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "6bd912b1028eb8bc09a823d35e4d37b3000861b1"
|
|
58
58
|
}
|