Comments (4)
Heh, I considered this but gave up on the idea. Figured that unless everything went through webpack (personally, I use Webpack for server, client, and tests!), there'd be false positives.
Let me know if you can think of a bulletproof way of this plugin handling this. From experience, I know it's not as easy as having webpack bundle everything, since it routinely breaks without a carefully crafted configuration...
from install-webpack-plugin.
I think if you keep auto-installed deps listed somewhere like .autoinstall
files, you can safely remove them afterwards. No touching any other deps though.
Opt-out if not needed. That would be quite cool for newcomers. But as soon as you settle - plugin goes away, obviously.
from install-webpack-plugin.
Or it could be a section in package.json
itself alternatively
from install-webpack-plugin.
I agree that this would be a cool addition! I think there are too many edge-cases to consider, namely that there's no telling which dependencies may make their way into npm run
and outside the visibility of this plugin.
In the interest of keeping this focused on rapid development, this is probably out of scope.
In practice, I think other projects are probably better suited for auditing dependencies after coding is complete:
Thanks for the feedback!
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
- Don't install peerDependencies which can be resolved by Webpack HOT 2
- 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.