fix(nuxt3): rename runtime meta to head in build config (#4101)

This commit is contained in:
Daniel Roe 2022-04-05 15:51:55 +01:00 committed by GitHub
parent 301f242422
commit cb74ab6ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ export default defineBuildConfig({
{ input: 'src/app/', outDir: 'dist/app/' }, { input: 'src/app/', outDir: 'dist/app/' },
// Runtime dirs // Runtime dirs
...[ ...[
'meta', 'head',
'pages' 'pages'
].map(name => ({ input: `src/${name}/runtime/`, outDir: `dist/${name}/runtime`, format: 'esm' } as BuildEntry)) ].map(name => ({ input: `src/${name}/runtime/`, outDir: `dist/${name}/runtime`, format: 'esm' } as BuildEntry))
], ],