summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2022-08-02 15:28:12 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-08-02 15:28:12 +0000
commitba801b99e597ced7855b7d92b777a447f504ab4b (patch)
tree4f1e9a5a805ed75eeda7fbae9354449c29fd6b14
parent26cc0bbf78320e1797de9b4562ace92c5c03b666 (diff)
downloadastro-ba801b99e597ced7855b7d92b777a447f504ab4b.tar.gz
astro-ba801b99e597ced7855b7d92b777a447f504ab4b.tar.zst
astro-ba801b99e597ced7855b7d92b777a447f504ab4b.zip
[ci] format
-rw-r--r--packages/astro/src/core/render/dev/vite.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/render/dev/vite.ts b/packages/astro/src/core/render/dev/vite.ts
index 58f40a7dc..8d743dff2 100644
--- a/packages/astro/src/core/render/dev/vite.ts
+++ b/packages/astro/src/core/render/dev/vite.ts
@@ -1,7 +1,7 @@
import npath from 'path';
import vite from 'vite';
-import { STYLE_EXTENSIONS } from '../util.js';
import { unwrapId } from '../../util.js';
+import { STYLE_EXTENSIONS } from '../util.js';
/**
* List of file extensions signalling we can (and should) SSR ahead-of-time
@@ -37,7 +37,7 @@ export async function* crawlGraph(
}
if (id === entry.id) {
scanned.add(id);
- const entryIsStyle = STYLE_EXTENSIONS.has(npath.extname(id))
+ const entryIsStyle = STYLE_EXTENSIONS.has(npath.extname(id));
for (const importedModule of entry.importedModules) {
// some dynamically imported modules are *not* server rendered in time
// to only SSR modules that we can safely transform, we check against