@farmfe/runtime
Advanced tools
Comparing version 0.8.3 to 0.8.4
# @farmfe/runtime | ||
## 0.8.4 | ||
### Patch Changes | ||
- 2bcf360e: fix #802 | ||
## 0.8.3 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@farmfe/runtime", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Runtime of Farm", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -39,3 +39,5 @@ // using native ability to load resources if target env is node. | ||
const publicPath = this.publicPaths[index]; | ||
const url = `${publicPath === '/' ? '' : publicPath}/${resource.path}`; | ||
const url = `${ | ||
publicPath.endsWith('/') ? publicPath.slice(0, -1) : publicPath | ||
}/${resource.path}`; | ||
@@ -42,0 +44,0 @@ if (this._loadedResources[resource.path]) { |
20848
514