diff options
author | 2021-05-11 20:01:37 -0400 | |
---|---|---|
committer | 2021-05-11 20:01:37 -0400 | |
commit | 88529b679af014509191beda146a64170fa9476f (patch) | |
tree | 55dcec8b53ba5cabe029e1679ea8bd3ebb1c55c4 /scripts | |
parent | e77c8fff77a54fcb891cc112217b17ad80e315f5 (diff) | |
download | astro-88529b679af014509191beda146a64170fa9476f.tar.gz astro-88529b679af014509191beda146a64170fa9476f.tar.zst astro-88529b679af014509191beda146a64170fa9476f.zip |
VS Code extension (#197)
* Fix running the extension
I'm not sure how my setup was different but I was unable to get the extension to run locally without adding a binary. This mirrors what Svelte does so I'm assuming it's the way it's supposed to be loaded.
* Resolve TypeScript suggestions to the correct file
This fixes a couple of bugs related to suggestions. 1 was this does the whole `.ts` extension fakeout thing so that the TypeScript plugin thinks that Astro files are TypeScript. Secondly this fixes the caching of the Document, so that suggestions account for the current document text.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cmd/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmd/build.js b/scripts/cmd/build.js index 81761030e..250bb1efd 100644 --- a/scripts/cmd/build.js +++ b/scripts/cmd/build.js @@ -8,7 +8,7 @@ import glob from 'tiny-glob'; /** @type {import('esbuild').BuildOptions} */ const defaultConfig = { bundle: true, - minify: true, + minify: false, format: 'esm', platform: 'node', target: 'node14', |