Comments (2)
Relevant from the closed PR:
If, instead of being installed up-front, peerDependencies
were handled like any other normal module the plugin tries to install and Webpack was able to resolve them package via aliases, fallback module directories etc. they wouldn't be installed.
We can't ignore peerDependencies
because Plugin#resolveModule()
skips sub-dependencies - could install()
return something the plugin could use to check if it should attempt to resolve/install sub-dependencies which are known to be peerDependencies
?
from install-webpack-plugin.
Anyone got a module which demonstrates a solid use case for needing to install peerDependencies
?
I have a build which disables up-front installation and has lots of debug logging to show what's going on, and it works just fine in example/webpack2
and my nwb preact
case.
from install-webpack-plugin.
Related Issues (20)
- Cannot read property 'plugin' of null HOT 18
- webpack-defaults upgrade
- Can't resolve 'stylus-loader' HOT 2
- Standardize README
- typosquatting
- Warning for "spawnSync npm ENOENT"
- Endless loop when installing the module alert
- Forgetting to prefix local path with ./ leads to unexpected installation HOT 2
- Webpack 4 support HOT 8
- What is smarterspam.com HOT 3
- Prompt Before package install --- Feature request HOT 4
- webpack v5 compatibility HOT 2
- ăbă
- in webpack5 is error HOT 2
- This package does not exist in the NPM repository HOT 4
- security problem
- typograpical error
- TypeError: compiler.plugin is not a function
- Transfer project to https://github.com/webpack-contrib HOT 3
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 install-webpack-plugin.