You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
305 B

import visualizer from 'rollup-plugin-visualizer';
import { ANALYSIS } from '../../constant';
export function ConfigVisualizerConfig() {
if (ANALYSIS) {
return visualizer({
filename: 'dist/report.html',
open: true,
gzipSize: true,
emitFile: false
});
}
return [];
}