2
嗨我想編譯一個node_modules作爲發佈模式,但我無法成功配置爲發佈模式。node-gyp配置爲發佈模式
我跑node-gyp configure
;在configure.gypi產生
# Do not edit. File was generated by node-gyp's "configure" step {
"target_defaults": {
"cflags": [],
**"default_configuration": "Debug",**
"defines": [],
"include_dirs": [],
"libraries": [] },
我-DBUILDTYPE=Release
和BUILDTYPE=Release
但沒有成功
This Works,thanks!它並不總是Release,可能是Debug,所以你必須指定--release。我認爲調試是當你從開源調試開始構建節點。 – Calin 2014-04-18 14:54:38