webpack / memory-fs

[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.
MIT License
881 stars 88 forks source link

DeprecationWarning in webpack v4 #69

Open CodeLittlePrince opened 5 years ago

CodeLittlePrince commented 5 years ago

description

when I use webpack v4 in this way:

const serverCompiler = webpack(serverConfig)
const MFS = require('memory-fs')
const mfs = new MFS()
serverCompiler.outputFileSystem = mfs

and show the warning below: DeprecationWarning: Tapable.plugin is deprecated. Use new API on.hooksinstead

ghost commented 5 years ago

I had the same problem

ghost commented 5 years ago

This error does not affect the use.