mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-20 21:35:42 +02:00
Update package.json to add node engine required version. Downgraded vite to v4
This commit is contained in:
parent
80e96b54f7
commit
99d921d858
9 changed files with 8 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
# NPM and Yarn
|
||||
# NPM / Yarn / Pnpm
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
pnpm-lock.yaml
|
||||
node_modules/
|
||||
|
||||
# Build artifacts and asset stuff
|
||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
@ -112,7 +112,7 @@ var buildIndex = function(done) {
|
|||
|
||||
if (process.env.CI) {
|
||||
writeFileSync('build/index.html', outputIndex);
|
||||
copyRecursiveSync('public/assets', 'build/assets');
|
||||
copyRecursiveSync('assets', 'build/assets');
|
||||
} else {
|
||||
writeFileSync('index.html', outputIndex);
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"prompt": "^1.2.2",
|
||||
"vinyl-buffer": "^1.0.1",
|
||||
"vinyl-source-stream": "^2.0.0",
|
||||
"vite": "^5.0.12"
|
||||
"vite": "^4.0.12"
|
||||
},
|
||||
"dependencies": {
|
||||
"backbone": "^1.4.0",
|
||||
|
@ -50,5 +50,8 @@
|
|||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"underscore": "^1.13.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "16.20.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue