Skip to content

Commit

Permalink
Merge pull request #52 from nepalcodes/hb-fix-tailwind-issue
Browse files Browse the repository at this point in the history
Fix tailwind issue
  • Loading branch information
hems-bhandari authored Jul 4, 2024
2 parents 8c9f5ba + 9feb1a6 commit 9079ebc
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions nepalingo-web/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tsconfigPaths from 'vite-tsconfig-paths';
import { resolve } from 'path';
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
import { resolve } from "path";
import tailwindcss from "tailwindcss";

export default defineConfig({
plugins: [
react(),
tsconfigPaths()
],
plugins: [react(), tsconfigPaths()],
css: {
postcss: {
plugins: [tailwindcss()],
},
},
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
"@": resolve(__dirname, "src"),
},
},
});

0 comments on commit 9079ebc

Please sign in to comment.