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