Fixed #3802 - Improve folder structure for nuxt configurations

This commit is contained in:
mertsincan 2023-03-26 06:22:57 +01:00
parent 851950270b
commit f5fe822afb
563 changed files with 1703 additions and 1095 deletions

View file

@ -156,6 +156,8 @@ Object.keys(fileModules).forEach((p) => {
createVeturAttributes(fileModules[p][p]);
});
!fs.existsSync(distDir) && fs.mkdirSync(distDir);
const webTypesJson = JSON.stringify(webTypes, null, 2);
fs.writeFileSync(path.resolve(distDir, 'web-types.json'), webTypesJson);