diff options
author | 2022-05-23 20:53:42 +0000 | |
---|---|---|
committer | 2022-05-23 20:53:42 +0000 | |
commit | eb4382a251f9192f81259e40dbfeb775e5019a5e (patch) | |
tree | 9a82a4ffd4b98b6ea5eabd5f4c445be0f6a8ee0d | |
parent | 0209d6276c6ed86914b6433e223628010b6a7dfd (diff) | |
download | astro-eb4382a251f9192f81259e40dbfeb775e5019a5e.tar.gz astro-eb4382a251f9192f81259e40dbfeb775e5019a5e.tar.zst astro-eb4382a251f9192f81259e40dbfeb775e5019a5e.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/app/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/astro/src/core/app/index.ts b/packages/astro/src/core/app/index.ts index c630e3de3..ca2877a9d 100644 --- a/packages/astro/src/core/app/index.ts +++ b/packages/astro/src/core/app/index.ts @@ -108,7 +108,9 @@ export class App { throw new Error(`Unable to resolve [${specifier}]`); } const bundlePath = manifest.entryModules[specifier]; - return bundlePath.startsWith('data:') ? bundlePath : prependForwardSlash(joinPaths(manifest.base, bundlePath)); + return bundlePath.startsWith('data:') + ? bundlePath + : prependForwardSlash(joinPaths(manifest.base, bundlePath)); }, route: routeData, routeCache: this.#routeCache, |