systemjs / systemjs

Dynamic ES module loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should consumers be aware of `process.env.SYSTEM_PRODUCTION`

tbrannam opened this issue · comments

  • SystemJS Version:
  • Which library are you using?
    • system.js
    • s.js
    • system-node.cjs
  • Which extras are you using?
    • AMD extra
    • Named Exports
    • Named Register
    • Transform
    • Use Default
    • Global
    • Dynamic Import Maps
  • Are you using any custom hooks?

Question

In the distribution file system-node.cjs there exists references to the environment variable process.env.SYSTEM_PRODUCTION which triggers some conditional code.

Should consumers be defining this value, at build time or runtime?