Coder Social home page Coder Social logo

Comments (4)

andywer avatar andywer commented on July 17, 2024

Which node version are you using? Node 5+ should flatten the node_modules, so you could just rely on the transitive dependency. It's really not best practice, but you could give it a try.

A clean solution could be achieved when there is a CLI tool (👉 #7).

from webpack-blocks.

eXon avatar eXon commented on July 17, 2024

I'm on Node 6 but by doing that, you choose the library version for the user instead of letting him choose to update them. Not sure how this is handled honestly.

For the CLI, I think create-react-app pretty much nailed that. It's worth a look.

from webpack-blocks.

andywer avatar andywer commented on July 17, 2024

Right, you wouldn't care about webpack plugin/loader versions anymore at all. But from a pragmatic point of view: Do you really care which loader versions you use? I guess most people just set them up once and never touch them again...

I know create-react-app. The CLI I have in mind aims for something else:

  1. What if you need a webpack setup, but no react?
  2. CRA is really cool to get going fast and easy, but if you need to change the webpack config you run the eject script and you are left pretty much alone with the webpack hazzle it successfully hid from you before.

Should probably add this to the other issue... But we are losing focus here 😉

from webpack-blocks.

eXon avatar eXon commented on July 17, 2024

Closing this I'll let the discussion continue on the correct issue.

from webpack-blocks.

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.