From 4a100828de320ace7699297274b5336f159e8954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E6=BF=A0?= Date: Sat, 12 Oct 2019 11:28:20 +0800 Subject: [PATCH] chore(scripts): remove useless requires (#219) --- scripts/build.js | 1 - scripts/dev.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 08d9f65f..9bc27c60 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -16,7 +16,6 @@ yarn build core --formats cjs const fs = require('fs-extra') const path = require('path') -const zlib = require('zlib') const chalk = require('chalk') const execa = require('execa') const { gzipSync } = require('zlib') diff --git a/scripts/dev.js b/scripts/dev.js index d21c3272..4a6b1e4f 100644 --- a/scripts/dev.js +++ b/scripts/dev.js @@ -17,8 +17,7 @@ __DEV__=false yarn dev */ const execa = require('execa') -const { targets, fuzzyMatchTarget } = require('./utils') - +const { fuzzyMatchTarget } = require('./utils') const args = require('minimist')(process.argv.slice(2)) const target = args._.length ? fuzzyMatchTarget(args._)[0] : 'vue' const formats = args.formats || args.f