blakeembrey/free-style

Add production flag to create method

RG100-EMUX opened this issue · 1 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.