Update package.json to add node engine required version. Downgraded vite to v4

This commit is contained in:
Thierry Parlier 2024-02-06 20:01:16 +04:00
parent 80e96b54f7
commit 99d921d858
9 changed files with 8 additions and 4 deletions

5
.gitignore vendored
View file

@ -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
@ -50,4 +51,4 @@ DerivedData
VendorLib/clang/lib/arc
VendorLib/clang/lib/c++
.idea
.idea

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before After
Before After

View file

@ -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);
}

View file

@ -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"
}
}