diff --git a/vite.config.js b/vite.config.js index b6ef53f..da6d7ca 100644 --- a/vite.config.js +++ b/vite.config.js @@ -98,13 +98,12 @@ export default defineConfig(({ mode }) => { outMode = `dev`; }; - const plugins = [ - copyFile(`LICENSE`, `LICENSE`), - copyFile(`README.md`, `README.md`), - ]; + const plugins = []; if (isProd) { plugins.push( + copyFile(`LICENSE`, `LICENSE`), + copyFile(`README.md`, `README.md`), buildPacks(), ); } else {