rebuild doc for NW.js (#1229)

refers to https://github.com/lovell/sharp/issues/1223
This commit is contained in:
Michael 2018-05-15 09:28:09 +03:00 committed by Lovell Fuller
parent f23a8dc9dc
commit 6e51f2d608

View File

@ -0,0 +1,8 @@
# Rebuild
* after installing the Sharp module with CLI cd into the `node-modules/sharp`
* rebuild `nw-gyp rebuild --target=[your nw version] --arch=[x64,ia32]`without brackets, [for more details](http://docs.nwjs.io/en/latest/For%20Users/Advanced/Use%20Native%20Node%20Modules/)
* run `node node_modules\sharp\install\dll-copy`
## Prerequisites
* node
* nw-gyp
* sharp