]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(scripts): remove useless requires (#219)
author朱金濠 <zhujinhao@goujianweilai.com>
Sat, 12 Oct 2019 03:28:20 +0000 (11:28 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 12 Oct 2019 03:28:20 +0000 (23:28 -0400)
scripts/build.js
scripts/dev.js

index 08d9f65feab842d0d3a0169ce835cc86b9e2f5a9..9bc27c60a72da0c31393bc1de065097cf67c0a2e 100644 (file)
@@ -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')
index d21c3272e53ea46955e84ca8affdb81c81c5e86f..4a6b1e4f1699468ed6ff76141e2c23fb4d2b8bc9 100644 (file)
@@ -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