16 lines
272 B
JavaScript
16 lines
272 B
JavaScript
|
|
import { defineConfig } from 'vite';
|
||
|
|
import path from 'path';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
build: {
|
||
|
|
manifest: true,
|
||
|
|
outDir: './dist',
|
||
|
|
rollupOptions: {
|
||
|
|
input: {
|
||
|
|
'main.js': path.resolve(__dirname, './assets/js/main.js'),
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|