chore(scripts): remove useless requires (#219)
This commit is contained in:
parent
e68321eac0
commit
4a100828de
@ -16,7 +16,6 @@ yarn build core --formats cjs
|
|||||||
|
|
||||||
const fs = require('fs-extra')
|
const fs = require('fs-extra')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const zlib = require('zlib')
|
|
||||||
const chalk = require('chalk')
|
const chalk = require('chalk')
|
||||||
const execa = require('execa')
|
const execa = require('execa')
|
||||||
const { gzipSync } = require('zlib')
|
const { gzipSync } = require('zlib')
|
||||||
|
@ -17,8 +17,7 @@ __DEV__=false yarn dev
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const execa = require('execa')
|
const execa = require('execa')
|
||||||
const { targets, fuzzyMatchTarget } = require('./utils')
|
const { fuzzyMatchTarget } = require('./utils')
|
||||||
|
|
||||||
const args = require('minimist')(process.argv.slice(2))
|
const args = require('minimist')(process.argv.slice(2))
|
||||||
const target = args._.length ? fuzzyMatchTarget(args._)[0] : 'vue'
|
const target = args._.length ? fuzzyMatchTarget(args._)[0] : 'vue'
|
||||||
const formats = args.formats || args.f
|
const formats = args.formats || args.f
|
||||||
|
Loading…
Reference in New Issue
Block a user