Crossword-Fable/webpack.common.js
2021-12-22 13:05:51 -05:00

9 lines
313 B
JavaScript

// common utilities used by webpack
var realFs = require('fs')
var gracefulFs = require('graceful-fs')
module.exports = {
// Patches the fs native module with the alternative graceful-fs module
// which handles EMFILE errors internally
patchGracefulFileSystem: () => gracefulFs.gracefulify(realFs)
}