Giter VIP home page Giter VIP logo

Comments (6)

bdefore avatar bdefore commented on May 27, 2024

I decided to try this out and it works without many changes. My Procfile.dev became:

webpack: cd ./client && webpack -w --config ./client/webpack.rails.config.js

(note that i renamed 'webpack' dir to 'client')

Overall I'm much happier with the separation, with dependencies defined and installed relative to 'client'. It also has the benefit of making it more straightforward for porting this process over to an existing rails setup, since you could just copy over the 'client' directory, make a few Procfile customizations and you're good to go.

from react-webpack-rails-tutorial.

justin808 avatar justin808 commented on May 27, 2024

@bdefore Awesome. One advantage of the name client is that if you use zsh and type webpack to switch directories, well, webpack is a exe. If you can submit a PR, I'll get that integrated. Otherwise, @mbreining or I will try to change it shortly.

from react-webpack-rails-tutorial.

justin808 avatar justin808 commented on May 27, 2024

I'm creating this change. @bdefore I'll notify you so that you might be able to comment on the PR.

from react-webpack-rails-tutorial.

justin808 avatar justin808 commented on May 27, 2024

@bdefore If you get a chance, please review Pull request #19.

from react-webpack-rails-tutorial.

bdefore avatar bdefore commented on May 27, 2024

@justin808 i've left a couple notes but overall looks like what i'd expect. you'll also want to update your blog post references to 'webpack' directory since that may be how people come to find your tutorial.

from react-webpack-rails-tutorial.

justin808 avatar justin808 commented on May 27, 2024

Closed by #19.

from react-webpack-rails-tutorial.

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.