Taco de Wolff
Taco de Wolff
The problem is that Go only supports compiling with MingW, and node-gyp (or some third-party library) only supports compiling with Microsoft's compiler. Neither side budges so there isn't really a...
I don't think I used `node-pre-gyp`, I seem to be using https://github.com/prebuild/prebuildify. But as I said, this more of a platform issue...you could argue that the Go team needs to...
Yes, here is the new run: https://github.com/tdewolff/minify/actions/runs/8745650432/job/24001045387 Relevant part: ``` Building Go library... mingw32-make: Entering directory 'D:/a/minify/minify/bindings/js' go build -buildmode=c-archive -o minify.a minify.go go: downloading github.com/tdewolff/minify/v2 v2.12.5 go: downloading github.com/tdewolff/parse/v2...
This is probably a bug in node-gyp, or at least an inconsistency that requires a workaround for building to multiple platforms. I've add a file `compile.bat` with content `mingw32-make -C...
Looks good to me!
When I wrote the script, it was near impossible to make it work on Windows. It works on MacOS and Linux however. I will see if this has changed, but...
The problem is much worse. After working on this for two days, it seems that Go/CGO only compiles with GCC, and node-gyp only compiles with MSVC, and the resulting node...
Thanks I will look into it, looks like an issue with parallel sections of self-intersecting paths, a known problem.
Excellent, sounds good!
Thank you for the feedback. The JavaScript binding has a very similar problem. I'm not sure if this is a bug in minify itself (I don't think so), or in...