mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Fix file path, Automatically copy efy when building
This commit is contained in:
		
							parent
							
								
									1f651a6111
								
							
						
					
					
						commit
						d9ebbe6d3a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -6,7 +6,7 @@ import VueI18nPlugin from "@intlify/unplugin-vue-i18n/vite";
 | 
				
			||||||
import { VitePWA } from "vite-plugin-pwa";
 | 
					import { VitePWA } from "vite-plugin-pwa";
 | 
				
			||||||
import path from "path";
 | 
					import path from "path";
 | 
				
			||||||
import eslintPlugin from "vite-plugin-eslint";
 | 
					import eslintPlugin from "vite-plugin-eslint";
 | 
				
			||||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
 | 
					import { viteStaticCopy } from "vite-plugin-static-copy";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// https://vitejs.dev/config/
 | 
					// https://vitejs.dev/config/
 | 
				
			||||||
export default defineConfig({
 | 
					export default defineConfig({
 | 
				
			||||||
| 
						 | 
					@ -68,8 +68,8 @@ export default defineConfig({
 | 
				
			||||||
        viteStaticCopy({
 | 
					        viteStaticCopy({
 | 
				
			||||||
            targets: [
 | 
					            targets: [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    src: 'node_modules/efy/*',
 | 
					                    src: "node_modules/efy/*",
 | 
				
			||||||
                    dest: 'efy',
 | 
					                    dest: "efy",
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
        }),
 | 
					        }),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue