Skip to content

Commit

Permalink
Switch to @literals/rollup-plugin-html-css-minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Aug 7, 2024
1 parent 6f6be1a commit 09b3c7b
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { execSync } from 'node:child_process';
import { existsSync } from 'node:fs';
import { join } from 'node:path';

import { literalsHtmlCssMinifier } from '@literals/rollup-plugin-html-css-minifier';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { formatInTimeZone } from 'date-fns-tz';
import minifyHTML from 'rollup-plugin-minify-html-literals';
import { visualizer } from 'rollup-plugin-visualizer';
import { defineConfig, type UserConfig } from 'vite';
import { checker } from 'vite-plugin-checker';
Expand Down Expand Up @@ -59,7 +59,7 @@ export default defineConfig(

plugins: [
VitePWA(getPwaConfig(mode)),
minifyHTML(),
literalsHtmlCssMinifier(),
{
...visualizer(),
apply: 'build',
Expand Down
Loading

0 comments on commit 09b3c7b

Please sign in to comment.