Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

env.js issue #1

@dvlpr-eth

Description

@dvlpr-eth

Hey, I tried to send pull request but it seems you don't have it enabled, there is issue with env.js. const isDev is missing .env, it prevents Gulp to add sourcemap to css. Ternary operator is missing === 'production'

- export const NODE_ENV = process.env.NODE_ENV ? "production" : "development";
- export const isDev = process.NODE_ENV === "development";
+ export const NODE_ENV = process.env.NODE_ENV === 'production' ? 'production' : 'development';
+ export const isDev = process.env.NODE_ENV === 'development';
export const isProd = process.env.NODE_ENV === 'production';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions