-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.js
32 lines (30 loc) · 1.05 KB
/
vite.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// @ts-nocheck
import minifyHTML from 'rollup-plugin-minify-html-literals';
import { defineConfig } from 'vite';
import { agencyActivityProcessor } from './src/data/helpers/agencyActivityProcessor';
import { agencyPresenceProcessor } from './src/data/helpers/agencyPresenceProcessor';
import { disbursementByAgencyProcessor } from './src/data/helpers/disbursementByAgencyProcessor';
import { learningOutcomesProcessor } from './src/data/helpers/learningOutcomesProcessor';
import { outputIndicatorsProcessor } from './src/data/helpers/outputIndicatorsProcessor';
import { outputIndicatorsProcessorV2 } from './src/data/helpers/outputIndicatorsProcessorV2';
export default defineConfig({
base: '',
plugins: [
agencyPresenceProcessor,
agencyActivityProcessor,
disbursementByAgencyProcessor,
learningOutcomesProcessor,
outputIndicatorsProcessor,
outputIndicatorsProcessorV2
],
build: {
rollupOptions: {
plugins: [minifyHTML.default()],
input: 'src/app/bootstrapBeApp.ts',
output: {
entryFileNames: '[name].mjs'
},
format: 'iife'
}
}
});