fix: fix npm script

This commit is contained in:
vben
2020-10-16 22:28:44 +08:00
parent 8a1bfdf13d
commit b84de1a515
5 changed files with 14 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
import { gzip } from 'zlib';
import { readFileSync, writeFileSync } from 'fs';
import { GzipPluginOptions } from './types';
import viteConfig from '../../vite.config';
import { readAllFile, getCwdPath, isBuildGzip, isSiteMode } from '../utils';
import viteConfig from '../../../vite.config';
import { readAllFile, getCwdPath, isBuildGzip, isSiteMode } from '../../utils';
export function startGzip(
fileContent: string | Buffer,