mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-04-27 00:56:31 +00:00
Fix file path, Automatically copy efy when building
This commit is contained in:
parent
1f651a6111
commit
d9ebbe6d3a
@ -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…
x
Reference in New Issue
Block a user