-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack loader support #42
Comments
No, not yet. I do not have full scenario to support this. If you have a project using webpack, then you can depcheck the project and resolve the webpack issues. I guess webpack might be complex because it use its naming convention to require packages. |
Let me clarify, webpack has many loaders, plugins, etc. There is a simple way to depend on one webpack loader/plugin (check this docs). Those usages do not follow Currently, such special command does not exist. If you want to work on this, read webpack's document and depcheck's pluggable design doc. |
From @js08 on October 21, 2015 17:12 @lijunle does this npm package https://github.com/dylang/npm-check supports webpack |
I don't think they support. Npm-check use depcheck to detect unused dependencies. |
@js08 I don't get your meaning, is that related to webpack issue? If not, please open another issue. |
From @js08 on October 23, 2015 14:6 @lijunle lijunle#27 if you look at this it seems you have closed |
From @js08 on October 26, 2015 14:19 @lijunle here is an example for todomvc app, can you fix it https://github.com/rackt/redux/blob/master/examples/todomvc/webpack.config.js#L22 |
Hi, @js08 I am sorry to tell you that, I am not going to work on this issue. Because of the estimated complexity of this issue is high, and the benefit is not very high. I will not work on this issue until my another working project reach my bar. However, if you have ideas on this, please go ahead to implement it. I am welcome for a PR. |
Decouple existing parsers and detectors from index.js
From @lijunle on September 19, 2015 21:20
Webpack loaders are a special way to "load" code into webpack.
There are two syntax to use webpack loader:
require
functionCopied from original issue: lijunle#14
There are several syntaxes about Webpack loaders:
require
calls. (example) [3]--module-bind
options. (example) [2]module.loaders.loader
string (example) [1]!
inmodule.loaders.loader
string (example) [1]module.loaders.loaders
array (example) [1]module.loaders.loader
string (example) [1]Other considerations about loader:
module.loaders
,module.preLoaders
andmodule.postLoaders
[1]--config
option. The default configuration filewebpack.config.js
will be leveraged if not specified. [2]resolveLoader.moduleTemplates
setting in configuration file. Default is["*-webpack-loader", "*-web-loader", "*-loader", "*"]
. [2]Notes:
The text was updated successfully, but these errors were encountered: