mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-29 14:28:37 +02:00
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:
parent
40ddfcab77
commit
acc6555ded
11 changed files with 5007 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue