fix(vite): add module type to vite node entry (#6448)

This commit is contained in:
Daniel Roe 2022-08-09 08:59:08 +01:00 committed by GitHub
parent f296b36a82
commit ae388e7293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@ function getManifest (ctx: ViteBuildContext) {
'@vite/client': {
file: '@vite/client',
css,
module: true,
isEntry: true
},
[ctx.entry]: {