Temporarily disable @astrojs/renderer-vue
(#279)
* chore: add package.json to externals * fix: add missing packages to allowList * fix: temporarily disable @astrojs/renderer-vue * chore: add changeset
This commit is contained in:
parent
2b1dbbe32f
commit
ce30bb0041
4 changed files with 9 additions and 2 deletions
5
.changeset/nine-buttons-decide.md
Normal file
5
.changeset/nine-buttons-decide.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Temporarily disable `@astrojs/renderer-vue` while we investigate an issue with installation
|
|
@ -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"
|
||||
|
|
|
@ -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-`);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue