You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
myOutputFileSystem.join = path.join.bind(path); // no need to bind
myOutputFileSystem.mkdirp = mkdirp.bind(mkdirp); // no need to bind
const compiler = webpack(webpackConfig);
Bug report
` const path = require('path'); const myOutputFileSystem = require('my-fs'); const mkdirp = require('mkdirp'); const webpackConfig = require('../../webpack.client.dev.js');
myOutputFileSystem.join = path.join.bind(path); // no need to bind
myOutputFileSystem.mkdirp = mkdirp.bind(mkdirp); // no need to bind
const compiler = webpack(webpackConfig);
const devMiddleware = koaConnect(
webpackDevMiddleware(compiler, {
publicPath: webpackConfig.output.publicPath,
outputFileSystem: myOutputFileSystem,
})
);
`
Actual Behavior
I use this code from the readme. But there happened an error.
Expected Behavior
I want to reference in-memory bundle from webpack-dev-middleware, how to do?
How Do We Reproduce?
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: