Comments (4)
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.
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.
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:
- What if you need a webpack setup, but no react?
- 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.
Closing this I'll let the discussion continue on the correct issue.
from webpack-blocks.
Related Issues (20)
- Have setOutput accept an object HOT 1
- Add tsd HOT 7
- createConfig from available webpack base config HOT 6
- Allow negations in match HOT 8
- Support for webpack 4 HOT 34
- @webpack-blocks/babel-loader: how to disable exclude node_modules HOT 12
- Code style HOT 6
- 2.0 roadmap HOT 26
- Move unpopular blocks to the webpack-blocks org HOT 11
- uglify package 1.0.0 doesn't match what is in the npm registry HOT 3
- Using assets package with webpack 4 and babel7 HOT 1
- Webpack blocks for webpack ^4.0.0 and babel ^7.0.0 HOT 2
- How to create custom block with new version? HOT 1
- Update typescript block to work with webpack 4 HOT 4
- Ability to extend options passed to include configFile HOT 3
- Tag a new version for update peer dependencies commit HOT 1
- devserver: hot and HotModuleReplacementPlugin
- Outdated PostCSS README HOT 1
- Cannot see how to remove or filter out HotModuleReplacementPlugin
- webpack-blocks/* issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-blocks.