您好我正在尝试将node_modules编译为发布模式,但我无法成功配置为发布模式。
我跑了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
但未成功
答案 0 :(得分:2)
默认值应为Release
。
尝试node-gyp configure --release