Skip to content

Commit 43c760b

Browse files
committed
use fs-extra
1 parent b967b75 commit 43c760b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/webpack/util.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
const { promisify } = require('util')
2-
const fs = require('fs')
3-
const readFile = promisify(fs.readFile)
1+
const { readFile } = require('fs-extra')
42
const { resolve, dirname } = require('path')
53

64
const asyncReplace = async (str, regex, aReplacer) => {

0 commit comments

Comments
 (0)