Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

275 B
Raw Blame
// Libraries such as react-datepicker require a process.NODE_ENV define.
export function getDataAppDefine(mode: string): Record<string, string> {
  return {
    "process.env.NODE_ENV": JSON.stringify(
      mode === "production" ? "production" : "development",
    ),
  };
}