diff --git a/.changeset/nine-buttons-decide.md b/.changeset/nine-buttons-decide.md new file mode 100644 index 000000000..2c1dc3959 --- /dev/null +++ b/.changeset/nine-buttons-decide.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Temporarily disable `@astrojs/renderer-vue` while we investigate an issue with installation diff --git a/packages/astro/package.json b/packages/astro/package.json index 8a0432f65..2d669fb7a 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -7,6 +7,7 @@ "types": "./dist/types", "exports": { ".": "./astro.mjs", + "./package.json": "./package.json", "./snowpack-plugin": "./snowpack-plugin.cjs", "./components/*": "./components/*", "./runtime/svelte": "./dist/frontend/runtime/svelte.js" diff --git a/packages/astro/src/external.ts b/packages/astro/src/external.ts index 3269b2c76..f8ae0e23c 100644 --- a/packages/astro/src/external.ts +++ b/packages/astro/src/external.ts @@ -9,7 +9,7 @@ const pkg = require('../package.json'); */ // These packages SHOULD be built by `esinstall` -const allowList = new Set(['astro-prism', 'prismjs', 'shorthash']); +const allowList = new Set(['astring', 'astro-prism', 'estree-util-value-to-estree', 'prismjs', 'shorthash']); const isAstroRenderer = (name: string) => { return name.startsWith(`@astrojs/renderer-`); diff --git a/packages/astro/src/runtime.ts b/packages/astro/src/runtime.ts index 55f38505b..5395b6032 100644 --- a/packages/astro/src/runtime.ts +++ b/packages/astro/src/runtime.ts @@ -269,7 +269,8 @@ interface CreateSnowpackOptions { } const DEFAULT_HMR_PORT = 12321; -const DEFAULT_RENDERERS = ['@astrojs/renderer-vue', '@astrojs/renderer-svelte', '@astrojs/renderer-react', '@astrojs/renderer-preact']; +// '@astrojs/renderer-vue' disabled due to a bug +const DEFAULT_RENDERERS = ['@astrojs/renderer-svelte', '@astrojs/renderer-react', '@astrojs/renderer-preact']; /** Create a new Snowpack instance to power Astro */ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackOptions) {