Open mattdsteele opened 8 years ago
These errors are generated by MemoryFileSystem which is no longer used in v2.
@leviwheatcroft Hi.The only solution is upgrade to webpack2?
v2 branch in this repo uses webpack 2, and has a variety of other improvements.
You can install with npm i --save github://christophercliff/metalsmith-webpack#v2
.
It's stable, I'm using it in several production projects. Only reason it's not published on npm yet is because I don't have collaborator (publish) access on npm.
I'm trying to use this in a Metalsmith project I just started, but am getting an error regarding Invalid Paths on Windows.
It's reproducible in this project if I run
npm test
on my Windows machines. I see these failures:Tested on two Windows machines, one with node 0.10.26, one with node 5.1.0. Running on a Mac with node 0.12.7 works fine.
The version of webpack pulled down is
1.12.9
. If I runwebpack
standalone using the same configuration in my project, it works fine.I'm not super familiar with how the plugin runs, but I'm guessing there was an API change in Webpack for Windows machines that the Metalsmith plugin doesn't handle?