Skip to content

Commit

Permalink
error building
Browse files Browse the repository at this point in the history
  • Loading branch information
avyaanverma committed Jan 2, 2024
1 parent f2badbd commit fb32d5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"homepage": "https://gitname.github.io/react-docs-app ",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
11 changes: 8 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
external: ['react-icons/lu'],
},
},
resolve: {
alias: {
// ...other aliases
},
// Add or update the assetsInclude option
assetsInclude: ['src/assets/**'],
},
})
});



0 comments on commit fb32d5a

Please sign in to comment.