summaryrefslogtreecommitdiff
path: root/scripts/cmd/build.js
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-06-16 13:20:29 -0500
committerGravatar GitHub <noreply@github.com> 2021-06-16 13:20:29 -0500
commit0dd278810e4353799c7239463f156b358ea30871 (patch)
tree964a62a13467950509b446ebeaa9b668e5874665 /scripts/cmd/build.js
parent382868abfc4b46a0c582ec4bf868719d4e87bbd2 (diff)
downloadastro-0dd278810e4353799c7239463f156b358ea30871.tar.gz
astro-0dd278810e4353799c7239463f156b358ea30871.tar.zst
astro-0dd278810e4353799c7239463f156b358ea30871.zip
Fix VS Code extension (#467)
* chore: astro-languageserver => @astrojs/language-server * chore: astro-vscode => vscode * chore: move devDeps to deps * chore: bump language-server to 0.5.0-next.0 * chore: remove astro-docs * chore: update changelog * fix: expose `astro-ls` bin * fix: vscode extension * chore: update changelog
Diffstat (limited to 'scripts/cmd/build.js')
-rw-r--r--scripts/cmd/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmd/build.js b/scripts/cmd/build.js
index d5ed05b20..dd2b2fd82 100644
--- a/scripts/cmd/build.js
+++ b/scripts/cmd/build.js
@@ -26,7 +26,7 @@ export default async function build(...args) {
const { type = 'module', dependencies = {} } = await fs.readFile('./package.json').then((res) => JSON.parse(res.toString()));
const format = type === 'module' ? 'esm' : 'cjs';
- const external = [...Object.keys(dependencies), 'source-map-support', 'source-map-support/register.js', 'vscode'];
+ const external = [...Object.keys(dependencies), '@astrojs/language-server/bin/server.js', 'source-map-support', 'source-map-support/register.js', 'vscode'];
const outdir = 'dist';
await clean(outdir);