rigjs 2.1.23 → 2.1.24
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/built/index.js +3 -3
- package/lib/publish/index.ts +2 -1
- package/package.json +1 -1
package/lib/publish/index.ts
CHANGED
|
@@ -115,10 +115,11 @@ export default async (cmd: any) => {
|
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
//匹配文件,3个模式通用
|
|
118
|
+
const divide = webEntryPath === '/' ? '' : '/';
|
|
118
119
|
setRewriteUriPromises.push(
|
|
119
120
|
setRewriteUri(
|
|
120
121
|
domain,
|
|
121
|
-
|
|
122
|
+
`^${webEntryPath}${divide}([^?]*\\.[a-zA-Z0-9]+)($|\\?)`,
|
|
122
123
|
`/${endpoint.deployDir.replace(/\\/g, '/')}/$1`,
|
|
123
124
|
cdn
|
|
124
125
|
)
|
package/package.json
CHANGED