summaryrefslogtreecommitdiff
path: root/src/runtime.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.ts')
-rw-r--r--src/runtime.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/runtime.ts b/src/runtime.ts
index 1b7261dfc..3b2cffefc 100644
--- a/src/runtime.ts
+++ b/src/runtime.ts
@@ -5,11 +5,7 @@ import type { CompileError } from './parser/utils/error.js';
import { info } from './logger.js';
import { existsSync } from 'fs';
-import {
- loadConfiguration,
- logger as snowpackLogger,
- startServer as startSnowpackServer
-} from 'snowpack';
+import { loadConfiguration, logger as snowpackLogger, startServer as startSnowpackServer } from 'snowpack';
interface RuntimeConfig {
astroConfig: AstroConfig;
@@ -137,10 +133,10 @@ export async function createRuntime(astroConfig: AstroConfig, { logging }: Runti
const mountOptions = {
[astroRoot.pathname]: '/_astro',
- [internalPath.pathname]: '/_astro_internal'
- }
+ [internalPath.pathname]: '/_astro_internal',
+ };
- if(existsSync(astroConfig.public)) {
+ if (existsSync(astroConfig.public)) {
mountOptions[astroConfig.public.pathname] = '/';
}