Skip to content

Commit

Permalink
chore: add dependency, configure vite.config.js and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 7, 2024
1 parent 9eb4e23 commit af1312d
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"postcss": "^8.4.33",
"prettier": "3.1.1",
"tailwindcss": "^3.4.1",
"vite": "^5.0.11"
"vite": "^5.0.11",
"vite-plugin-compression2": "^0.11.0"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down
33 changes: 33 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineConfig } from 'vite';
import { compression } from 'vite-plugin-compression2';
import react from '@vitejs/plugin-react-swc';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/artistry-hub/',
compression,
});

0 comments on commit af1312d

Please sign in to comment.