0

Is there any way to get jspm bundle-sfx to build without setting NODE_ENV to production? I'd like to set it to development for better error messages (specifically with React, which is defaulting to some 'minimized' production mode).

Have tried this with no results:

NODE_ENV=dev `npm bin`/jspm bundle-sfx [...]
Aaron Yodaiken
  • 19,163
  • 32
  • 103
  • 184

1 Answers1

0

jspm 0.17 will do this by default with the jspm build command (which replaces jspm build-sfx in 0.16) automatically treating it as a production build. jspm build --dev is then the way to do development-specific builds. I'd suggest trying the upgrade path if you can - the Beta release is quite stable at this point. See http://jspm.io/0.17-beta-guide/index.html for more info.

guybedford
  • 1,362
  • 11
  • 8