Skip to content

Commit

Permalink
fix: build error,close #13
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 29, 2022
1 parent d960526 commit dbc3247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { readAllFile, isRegExp, isFunction } from './utils'
import fs from 'fs-extra'
import chalk from 'chalk'
import zlib from 'zlib'
import { debug as Debug } from 'debug'
import Debug from 'debug'

const debug = Debug('vite-plugin-compression')
const debug = Debug.debug('vite-plugin-compression')

const extRE = /\.(js|mjs|json|css|html)$/i

Expand Down

0 comments on commit dbc3247

Please sign in to comment.