Skip to content

Commit

Permalink
update for release
Browse files Browse the repository at this point in the history
  • Loading branch information
atakantepe committed May 22, 2024
1 parent 476929e commit 56b109e
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 7 deletions.
62 changes: 61 additions & 1 deletion package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"prettier": "^2.8.8",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.38",
"prettier": "^2.8.8",
"react-window": "^1.8.10",
"tailwindcss": "^3.4.3",
"typescript": "^5.2.2",
"vite": "^5.2.0"
"vite": "^5.2.0",
"vite-plugin-static-copy": "^1.0.5"
}
}
18 changes: 14 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
import { viteStaticCopy } from 'vite-plugin-static-copy';
export default defineConfig({
plugins: [react()]
});
plugins: [
react(),
viteStaticCopy({
targets: [
{
src: 'src/data/*',
dest: 'src/data'
}
]
})
],
base: '/tailwind-cheat-sheet/',
});

0 comments on commit 56b109e

Please sign in to comment.