prerender-spa-plugin icon indicating copy to clipboard operation
prerender-spa-plugin copied to clipboard

Fix: Not compatible with Webpack5, because of compilerFS.mkdirp was not supported now

Open jsbugwang opened this issue 3 years ago • 6 comments

webpack5: mkdirp is no longer expected to be a function on the output file system https://github.com/webpack/webpack.js.org/issues/3110

Since Node 10, fs.mkdir(path[, options], callback) supporting mkdir recursively. Upgrade the engines. node to to >=10.0.0

jsbugwang avatar Sep 28 '21 04:09 jsbugwang

Yeah, I've just encountered the same problem. You have to add 'const fs = require('fs')' to es6/index.js as well because it fails So, thanks a lot for the fix I'm looking forward to seeing this merged

runtimess avatar Sep 28 '21 19:09 runtimess

const fs = require('fs')

yes, I've lost this line. thanks.

jsbugwang avatar Oct 01 '21 01:10 jsbugwang

I'm just wondering when it can be merged?

runtimess avatar Oct 05 '21 07:10 runtimess

Anyone here?

runtimess avatar Oct 14 '21 16:10 runtimess

Hi, this plugin is linked from official Vue.js documentation, so would also like to know maintenance status. Thank you!

acirulis avatar Nov 08 '21 13:11 acirulis

As this library is still waiting for a new maintainer, you can use prerender-spa-plugin-next in the meantime

Tofandel avatar Mar 04 '22 13:03 Tofandel