blakeembrey / free-style

Make CSS easier and more maintainable by using JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add production flag to create method

RG100-EMUX opened this issue · comments

Hello. I want see displayName in build app for development server. But create-react-app always set node_env=production in build command. Can you add options to create new instance method, default process.env.NODE_ENV === 'production' . Thank you

Development server would use npm start, not build, which is not set to production. I don’t intend to expose this functionality as it increases the bundle size in production.