summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ematipico <ematipico@users.noreply.github.com> 2023-06-27 11:00:40 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-06-27 11:00:40 +0000
commit275d0d1683353eb53bc6ed9ee7f67c657aecffa4 (patch)
treeeb22edfdf8555fe7ca645dc1a53d644cd055b764
parent60140374418ff0ee80899615be8e718ae57f791a (diff)
downloadastro-275d0d1683353eb53bc6ed9ee7f67c657aecffa4.tar.gz
astro-275d0d1683353eb53bc6ed9ee7f67c657aecffa4.tar.zst
astro-275d0d1683353eb53bc6ed9ee7f67c657aecffa4.zip
[ci] format
-rw-r--r--packages/astro/CHANGELOG.md18
-rw-r--r--packages/astro/src/core/build/static-build.ts2
2 files changed, 10 insertions, 10 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 26b000ee0..47aec886d 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -42,15 +42,15 @@
```ts
export function integration(): AstroIntegration {
- return {
- name: "my-integration",
- hooks: {
- "astro:build:ssr": ({ entryPoints }) => {
- // do something with `entryPoints`
- }
- }
- }
- }
+ return {
+ name: 'my-integration',
+ hooks: {
+ 'astro:build:ssr': ({ entryPoints }) => {
+ // do something with `entryPoints`
+ },
+ },
+ };
+ }
```
### Patch Changes
diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts
index 0be7f8739..59a42db34 100644
--- a/packages/astro/src/core/build/static-build.ts
+++ b/packages/astro/src/core/build/static-build.ts
@@ -3,7 +3,7 @@ import * as eslexer from 'es-module-lexer';
import glob from 'fast-glob';
import fs from 'fs';
import { bgGreen, bgMagenta, black, dim } from 'kleur/colors';
-import { extname, join } from 'node:path';
+import { extname } from 'node:path';
import path from 'path';
import { fileURLToPath } from 'url';
import * as vite from 'vite';