Skip to content

Commit

Permalink
feat: release 3.0.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 27, 2022
1 parent 19e6008 commit 443dfa0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-html",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"description": "A plugin for vite to Minimize index.html and use lodash.template template syntax in index.html",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -42,7 +42,7 @@
"homepage": "https://github.com/vbenjs/vite-plugin-html/tree/master/#readme",
"dependencies": {
"@rollup/pluginutils": "^4.1.2",
"chalk": "^5.0.0",
"colorette": "^2.0.16",
"consola": "^2.15.3",
"dotenv": "^14.3.2",
"dotenv-expand": "^6.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/htmlPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { existsSync, readFile, move, remove } from 'fs-extra'
import { resolve, dirname, basename } from 'pathe'
import fg from 'fast-glob'
import consola from 'consola'
import chalk from 'chalk'
import { dim } from 'colorette'

const DEFAULT_TEMPLATE = 'index.html'
const ignoreDirs = ['.', '', '/']
Expand Down Expand Up @@ -225,7 +225,7 @@ export function removeEntryScript(html: string) {
item.parentNode.removeChild(item)
})
removedNode.length &&
consola.warn(`vite-plugin-html: Since you have already configured entry, ${chalk.dim(
consola.warn(`vite-plugin-html: Since you have already configured entry, ${dim(
removedNode.toString(),
)} is deleted. You may also delete it from the index.html.
`)
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 443dfa0

Please sign in to comment.