Skip to content

Commit 014c711

Browse files
Merge pull request #20 from osvauld/feature/deploy-test
try prebuild
2 parents beba95c + b1cd183 commit 014c711

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

astro.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@ export default defineConfig({
3636
},
3737
],
3838
}),
39-
],
39+
40+
d2({
41+
layout: "elk"
42+
})],
4043
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",
8+
"prebuild": "curl -fsSL https://d2lang.com/install.sh | sh -s --",
89
"build": "astro build",
910
"preview": "astro preview",
1011
"astro": "astro"

0 commit comments

Comments
 (0)