Added vitejs as a launcher for index.html. package.json 'prepare' command is used to create the index.html file to be used with vite

This commit is contained in:
Thierry Parlier 2024-02-06 12:16:17 +04:00
parent 40ddfcab77
commit acc6555ded
11 changed files with 5007 additions and 4 deletions

View file

@ -112,7 +112,7 @@ var buildIndex = function(done) {
if (process.env.CI) {
writeFileSync('build/index.html', outputIndex);
copyRecursiveSync('assets', 'build/assets');
copyRecursiveSync('public/assets', 'build/assets');
} else {
writeFileSync('index.html', outputIndex);
}