17 lines
402 B
JavaScript
17 lines
402 B
JavaScript
|
|
import { defineConfig } from 'vite';
|
||
|
|
import path from 'path';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
root: path.resolve(__dirname, '..'),
|
||
|
|
build: {
|
||
|
|
outDir: 'assets/js',
|
||
|
|
emptyOutDir: false,
|
||
|
|
|
||
|
|
rollupOptions: {
|
||
|
|
input: 'ts/manage-notifications/index.ts',
|
||
|
|
output: {
|
||
|
|
entryFileNames: `manage-notifications.js`,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|