Skip to content

Commit

Permalink
Replace vite-plugin-html with vite-plugin-simple-html
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Dec 1, 2023
1 parent 6bb48b2 commit 7fee97d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 263 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"typescript": "^5.3.2",
"typescript-plugin-css-modules": "^5.0.0",
"vite": "^5.0.0",
"vite-plugin-html": "^3.2.0"
"vite-plugin-simple-html": "^0.1.0"
},
"resolutions": {
"eslint-plugin-import": "npm:eslint-plugin-i@^2.28.0"
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { createHtmlPlugin } from 'vite-plugin-html';
import simpleHtmlPlugin from 'vite-plugin-simple-html';

export default defineConfig({
base: './',
Expand All @@ -14,7 +14,7 @@ export default defineConfig({
},
},
}),
createHtmlPlugin({
simpleHtmlPlugin({
minify: true,
}),
],
Expand Down
Loading

0 comments on commit 7fee97d

Please sign in to comment.