Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should consumers be aware of process.env.SYSTEM_PRODUCTION #2486

Open
1 of 10 tasks
tbrannam opened this issue May 2, 2024 · 0 comments
Open
1 of 10 tasks

Should consumers be aware of process.env.SYSTEM_PRODUCTION #2486

tbrannam opened this issue May 2, 2024 · 0 comments

Comments

@tbrannam
Copy link

tbrannam commented May 2, 2024

  • 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant