mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-12 23:02:49 +00:00
stuff
This commit is contained in:
@@ -2,9 +2,13 @@ import { defineConfig } from 'vite';
|
||||
import { viteSingleFile } from 'vite-plugin-singlefile';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [viteSingleFile()],
|
||||
build: {
|
||||
outDir: 'dist-internal',
|
||||
},
|
||||
export default defineConfig((ctx) => {
|
||||
const input = ctx.command === 'serve' ? 'index.html' : 'index.build.html';
|
||||
console.log('Vite Internal Working with input', input);
|
||||
return {
|
||||
plugins: [viteSingleFile()],
|
||||
build: {
|
||||
outDir: 'dist-internal',
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user