Giter VIP home page Giter VIP logo

Comments (6)

sthzg avatar sthzg commented on August 24, 2024

Added an implementation for this feature in f7c211a. To avoid interfering with the NODE_ENV variable it sticks REACT_WEBPACK_ENV to process.env (here). Added a test case that checks for the value of config.appEnv in src/config/test.js.

@weblogixx maybe you could take a short look and check if you think it looks okay.

from react-webpack-template.

weblogixx avatar weblogixx commented on August 24, 2024

@sthzg: Thanks for the work, it is really appreciated. I will have a look at it and give you feedback until the end of the week.

from react-webpack-template.

weblogixx avatar weblogixx commented on August 24, 2024

I just reviewed it and think that this one is really really nice. Thank you for this! If you would adjust the README to reflect the new feature, I will happily merge it. Don`t forget to add yourself to contributors entry :).

_Update_:
Please also provide a small README.md in the new src/config folder that shows how it can be included. Just like src/actions for example.

from react-webpack-template.

sthzg avatar sthzg commented on August 24, 2024

Sorry(!) for the noise in the commits. I had troubles rebasing the feature, but the last commit is now correctly squashed to one commit and updated with the current upstream. If the changes to the README are okay I would make it a PR.

from react-webpack-template.

weblogixx avatar weblogixx commented on August 24, 2024

Thats not a problem (I made lots of such "noisy" commits myself). Looks good to me. Looking forward to the PR 👍 :).

from react-webpack-template.

weblogixx avatar weblogixx commented on August 24, 2024

Just merged it. Thanks for the good work :)

from react-webpack-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.