You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update Loader README's for each loader for v2. Update Loader/Plugin Maintainer Guideline #3195
I'd remove the license text in the readme, it's already present as a file. Or maybe reference to that file at least. That way we're sure both are the exact same version.
Maybe some standardised format to show the available options?
A specific example in webpack.config.js would be nice, so not all loaders use a completely different one. Something like this maybe:
@SpaceK33z yep the README boilerplate is currently 'outdated'
webpack-loaders
I'd remove the license text in the readme, it's already present as a file. Or maybe reference to that file at least. That way we're sure both are the exact same version.
Like you said LICENSE appendix -> Github UI
Maybe some standardised format to show the available options?
Definitely, this is WIP when I start updating, bc I need to check all the options of the various loaders first and find a readable format/pattern for that :)
A specific example in webpack.config.js would be nice, so not all loaders use a completely different one. Something like this maybe:
:+1 Should the {String} based e.g require(some-loader?option=value!./file.ext) options vanish completely or leave a short example mentioning that it's possible, but use webpack.config.js is recommended and 'best practice' ?
Can you or someone of the core team please host the new logo in webpack/media, so I can use it in README and Loader README ? Or in any prefered wayform your side, as long as I have access to it somehow 😛
webpack-plugins
Is it possible/planned/intended in the future to extract the Core Plugins from webpack/webpack and give them there own repos (e.g like extract-text-plugin, compression-plugin)? Since I update the README's anyways, let's do that in one blow then... :)
webpack
Do you mind take a look at the webpack README posted above aswell? e.g
You are missing as core member atm (will be fixed asap :))
Add CONTRIBUTORS Section like MAINTAINERS under the MAINTAINERS section, but with sponsors && backers && maintainers && contributors it gets also bloated, so not sure about that
The example section needs an update aswell imo, but not sure how at best
What you have in mind 😛
Maybe even remove all the loader tables and try to match the structure of the new docs better somehow (Still thinking about the how)
webpack-dev-server/webpack-dev-middleware
Find a logo for them, do you have something in mind? Currently I would go with standard server icon + webpack-logo for dev-server and expressjs logo + webpack-logo for dev-middleware?
Can you provide me an overview of all options for both of them, especially webpack-dev-server
What is the way forward there, will the structure stay like that in the near future ? Especially loader-utils is important for docs update.
What is your general opinion on making a loader-, plugin-boilerplate ? The README Boilerplate should not stay on a random joe's (me) profile and only a README repo at webpack org is not recommended/useful either.
Definitely, this is WIP when I start updating, bc I need to check all the options of the various loaders first and find a readable format/pattern for that :)
Cool. If you want any help updating some loaders, let me know. Note that some loaders have specific maintainers, so it would maybe be nice to communicate with them beforehand about this.
:+1 Should the {String} based e.g require(some-loader?option=value!./file.ext) options vanish completely or leave a short example mentioning that it's possible, but use webpack.config.js is recommended and 'best practice' ?
I don't know if we should vanish string based require's completely, but via webpack.config.js is definitely recommended and we should be clear that this is the way to go in most cases.
Can you or someone of the core team please host the new logo in webpack/media, so I can use it in README and Loader README ? Or in any prefered wayform your side, as long as I have access to it somehow 😛
Is it possible/planned/intended in the future to extract the Core Plugins from webpack/webpack and give them there own repos (e.g like extract-text-plugin, compression-plugin)? Since I update the README's anyways, let's do that in one blow then... :)
As far as I know, there are no plans to do this short-term, at least not in v2. So this wouldn't be necessary.
webpack-dev-server/webpack-dev-middleware
Find a logo for them, do you have something in mind? Currently I would go with standard server icon + webpack-logo for dev-server and expressjs logo + webpack-logo for dev-middleware?
Note that I'm the maintainer of those two packages. I would like to do the README's for those two packages myself; although if you really want to it's fine of course.
WDM will gain support for other servers then Express.js soon, so that logo would be misplaced. I can't currently think of another icon type though :(.
Can you provide me an overview of all options for both of them, especially webpack-dev-server
All options for WDM and WDS are documented on the new webpack docs, so I think we should just link to there. This is a "special" case however.
loader-utils/loader-runner/tapable/memory-fs/enhance-resolve
What is the way forward there, will the structure stay like that in the near future ? Especially loader-utils is important for docs update.
I think of those packages, only loader-utils is important for now because it's used by many loader authors. The rest we can do later. We can change the structure of the README to be more like the loader boilerplate.
What is your general opinion on making a loader-, plugin-boilerplate ?
Hmm, I think a separate repo might seem like a good idea at first, but that it will be forgotten. I'd say that the readme's can be copied from a random other loader, since all of them will follow the same readme boilerplate. That's just my opinion though ;).
Awesome to see that you're taking this seriously 💯. The whole webpack community will be thankful. In many of the loader repo's there are open issues asking what the loader does exactly.
Cool. If you want any help updating some loaders, let me know. Note that some loaders have specific maintainers, so it would maybe be nice to communicate with them beforehand about this.
Yep, of course all respective maintainers need to approve and maybe rework/refine content for the respective loader then, but first of all a general structure/style/start must be established, that's were I come into play :). Content changes and refinements is up to mantainers anyways, I will try to update content where mostly missing atm aswell, but possible that for some loaders their maintainers need to provide the actual content 😛 .I ask for/discuss that in the PR's later with them :).
👍 thx I will keep track of that issue, hopefully soon, so I can start 🚀
I don't know if we should vanish string based require's completely, but via webpack.config.js is definitely recommended and we should be clear that this is the way to go in most cases.
ok I will provide a absolute basic example of a require(loader!./file.ext) in terms of 'inline' usage, but if folks start to complain about it, can be removed by the maintainers anytime afterwards. Main is webpack.config.js webpack v2 style
All options for WDM and WDS are documented on the new webpack docs, so I think we should just link to there. This is a "special" case however.
Yep, you got me here, I just looked at the README's and recapped want I now from my daily usage, will take info/content from there: 👍
Note that I'm the maintainer of those two packages. I would like to do the README's for those two packages myself; although if you really want to it's fine of course.
I know 😛 , awesome job there so far 💯 👍 . Well in the end it's your decision , there is enough to do, like stated above, have it consisted is the/my/our main goal, I can send it so you don't have to do all the chore, just go over the content then and refine where inappropriated. Or pick (the soon to be updated) README Boilerplate and do as you please :).
WDM will gain support for other servers then Express.js soon, so that logo would be misplaced. I can't currently think of another icon type though :(.
Ok I have absolutely no insight whats being planned there ;). Maybe there is a generic icon/logo like the typical 'standard' server icon, we'll see or just leave it atm.
I think of those packages, only loader-utils is important for now because it's used by many loader authors. The rest we can do later. We can change the structure of the README to be more like the loader boilerplate.
Yep, agreed loader-utils is the important one, thb I'm also not really capable to write docs about the other ones 👀 . sokra can add JSDoc to them, when he is in the mood 😆
As far as I know, there are no plans to do this short-term, at least not in v2. So this wouldn't be necessary.
kk
Hmm, I think a separate repo might seem like a good idea at first, but that it will be forgotten. I'd say that the readme's can be copied from a random other loader, since all of them will follow the same readme boilerplate. That's just my opinion though ;).
Yeah sadly there is truth to that, for e.g postcss-plugin-boilerplate is avaiable but every new plugin I see never uses it 😢 . But it also doesn't really get promoted, so maybe if the docs for loader/plugin authors would mentioned it, more dev would use/adopt it ¯_(ツ)_/¯. Still discussable though... also not 'urgent' atm.
The webpack README update currently in progress, whats the opinion/issues/complains there ?
I will start with style-, css-, file-, url-, raw-loader, but come here again after the first README is finished for discussion and general style approvement from webpack/core-team. ok ?
The webpack README update currently in progress, whats the opinion/issues/complains there ?
I think it should be npm install --save-dev webpack instead of npm i -D webpack. While the latter is shorter, beginners don't always know what i or -D means. And we don't want to confuse them so early :).
Bundles both CommonJS and AMD modules (even combined). since webpack v2 it also bundles ES Modules. Maybe put that up first, since it's the "new thing".
The example given is very advanced, and may confuse / scare beginners. Maybe make clear that this is something "advanced"? As you said previously, we could also rework it to be simpler.
For webpack v2 the links are different (moved to webpack.js.org and have a new structure). We could also fix this later though.
I'd only refer to the license file in the readme here too.
The loader tables are fine here for now I think. It shows off how big the webpack ecosystem is and that there is support for everything you can imagine 🌈 .
As you said, I'd also like to be added in the maintainers table ;).
Agree with you that adding the contributors section might get too bloated. Perhaps GitHub provides a nice page where all contributors are listed? Then we can link to that.
Over all, nice work on the webpack readme. It's a lot better!
I will start with style-, css-, file-, url-, raw-loader, but come here again after the first README is finished for discussion and general style approvement from webpack/core-team. ok ?
Sure, I'll give you feedback and will try to get at least one other core member to do it too 😃 .
I think it should be npm install --save-dev webpack instead of npm i -D webpack. While the latter is shorter, beginners don't always know what i or -D means. And we don't want to confuse them so early :).
👍
Bundles both CommonJS and AMD modules (even combined). since webpack v2 it also bundles ES Modules. Maybe put that up first, since it's the "new thing".
kk. I will add/extrapolate webpack's native ES6 Modules/System.import support.
The example given is very advanced, and may confuse / scare beginners. Maybe make clear that this is something "advanced"? As you said previously, we could also rework it to be simpler.
kk, I will try to find another one (example from docs splash page, simple config intro etc.), but substance to discuss later on.
For webpack v2 the links are different (moved to webpack.js.org and have a new structure). We could also fix this later though.
I will take a look at the new docs and align structure (README chapters) with them, where possible, as I intended with the old docs :). When is depending on how long it will approximately take for v2 to be released, I have it in mind, but true maybe links could be set later.
I'd only refer to the license file in the readme here too.
Yep same as in README Boilerplate -> outdated, will be removed.
The loader tables are fine here for now I think. It shows off how big the webpack ecosystem is and that there is support for everything you can imagine 🌈 .
kk I will add at least one table for 'common' plugins under plugins aswell then. Any sugesstions for important/recommended/most used plugins, besides the core, extract-text, compression plugin(s) and friends?
As you said, I'd also like to be added in the maintainers table ;)
For sure 😛
Agree with you that adding the contributors section might get too bloated. Perhaps GitHub provides a nice page where all contributors are listed? Then we can link to that.
kk discarded, backers and sponsors are enough to signal community importance/friendliness/size
Contributors => Github UI :)
Sure, I'll give you feedback and will try to get at least one other core member to do it too 😃 .
@SpaceK33z thx 👍 on it from now. Finish webpack/webpack, then a smaller one like json-loader for style approvement like discussed, when approved style-, css-, less- , file-, url-, raw-loader, + loader-utils next :)
@michael-ciniawsky, I made a PR to your repo which brings the readme up-to-date with the latest changes and fixes a couple of small issues I had with it. The rest looks very good. I'm not completely sure about the advanced example. We could remove it and just link to the Get started page. But let's just leave in for now so we can focus on the loader README's.
Activity
michael-ciniawsky commentedon Nov 2, 2016
@TheLarkInn 👍 I can take/work on this one
Core README Draft
Loader/Plugin README Boilerplate
I would make one loader && plugin README update, come back here, if approved that way, then do it for the rest 😛 👍 ?
SpaceK33z commentedon Nov 4, 2016
@michael-ciniawsky, nice work on the loader readme. Some feedback:
About the CLA signment thingy, there is a bot that will automatically ask you for this when you do a PR.
michael-ciniawsky commentedon Nov 4, 2016
@SpaceK33z yep the README boilerplate is currently 'outdated'
webpack-loaders
Like you said LICENSE appendix -> Github UI
Definitely, this is WIP when I start updating, bc I need to check all the options of the various loaders first and find a readable format/pattern for that :)
:+1 Should the {String} based e.g
require(some-loader?option=value!./file.ext)options vanish completely or leave a short example mentioning that it's possible, but usewebpack.config.jsis recommended and 'best practice' ?Can you or someone of the core team please host the new logo in webpack/media, so I can use it in README and Loader README ? Or in any prefered wayform your side, as long as I have access to it somehow 😛
webpack-plugins
Is it possible/planned/intended in the future to extract the Core Plugins from webpack/webpack and give them there own repos (e.g like extract-text-plugin, compression-plugin)? Since I update the README's anyways, let's do that in one blow then... :)
webpack
Do you mind take a look at the webpack README posted above aswell? e.g
webpack-dev-server/webpack-dev-middleware
webpack-dev-serverloader-utils/loader-runner/tapable/memory-fs/enhance-resolve
What is the way forward there, will the structure stay like that in the near future ? Especially loader-utils is important for docs update.
What is your general opinion on making a loader-, plugin-boilerplate ? The README Boilerplate should not stay on a random joe's (me) profile and only a README repo at webpack org is not recommended/useful either.
SpaceK33z commentedon Nov 4, 2016
Cool. If you want any help updating some loaders, let me know. Note that some loaders have specific maintainers, so it would maybe be nice to communicate with them beforehand about this.
I don't know if we should vanish string based require's completely, but via
webpack.config.jsis definitely recommended and we should be clear that this is the way to go in most cases.I made an issue for it: webpack/webpack.js.org/issues/297, since it should be hosted on webpack.js.org.
As far as I know, there are no plans to do this short-term, at least not in v2. So this wouldn't be necessary.
Note that I'm the maintainer of those two packages. I would like to do the README's for those two packages myself; although if you really want to it's fine of course.
WDM will gain support for other servers then Express.js soon, so that logo would be misplaced. I can't currently think of another icon type though :(.
All options for WDM and WDS are documented on the new webpack docs, so I think we should just link to there. This is a "special" case however.
I think of those packages, only loader-utils is important for now because it's used by many loader authors. The rest we can do later. We can change the structure of the README to be more like the loader boilerplate.
Hmm, I think a separate repo might seem like a good idea at first, but that it will be forgotten. I'd say that the readme's can be copied from a random other loader, since all of them will follow the same readme boilerplate. That's just my opinion though ;).
Awesome to see that you're taking this seriously 💯. The whole webpack community will be thankful. In many of the loader repo's there are open issues asking what the loader does exactly.
michael-ciniawsky commentedon Nov 5, 2016
Yep, of course all respective maintainers need to approve and maybe rework/refine content for the respective loader then, but first of all a general structure/style/start must be established, that's were I come into play :). Content changes and refinements is up to mantainers anyways, I will try to update content where mostly missing atm aswell, but possible that for some loaders their maintainers need to provide the actual content 😛 .I ask for/discuss that in the PR's later with them :).
👍 thx I will keep track of that issue, hopefully soon, so I can start 🚀
ok I will provide a absolute basic example of a
require(loader!./file.ext)in terms of 'inline' usage, but if folks start to complain about it, can be removed by the maintainers anytime afterwards. Main iswebpack.config.jswebpack v2 styleYep, you got me here, I just looked at the README's and recapped want I now from my daily usage, will take info/content from there: 👍
I know 😛 , awesome job there so far 💯 👍 . Well in the end it's your decision , there is enough to do, like stated above, have it consisted is the/my/our main goal, I can send it so you don't have to do all the chore, just go over the content then and refine where inappropriated. Or pick (the soon to be updated) README Boilerplate and do as you please :).
Ok I have absolutely no insight whats being planned there ;). Maybe there is a generic icon/logo like the typical 'standard' server icon, we'll see or just leave it atm.
Yep, agreed loader-utils is the important one, thb I'm also not really capable to write docs about the other ones 👀 . sokra can add JSDoc to them, when he is in the mood 😆
kk
Yeah sadly there is truth to that, for e.g postcss-plugin-boilerplate is avaiable but every new plugin I see never uses it 😢 . But it also doesn't really get promoted, so maybe if the docs for loader/plugin authors would mentioned it, more dev would use/adopt it ¯_(ツ)_/¯. Still discussable though... also not 'urgent' atm.
The webpack README update currently in progress, whats the opinion/issues/complains there ?
I will start with style-, css-, file-, url-, raw-loader, but come here again after the first README is finished for discussion and general style approvement from webpack/core-team. ok ?
SpaceK33z commentedon Nov 5, 2016
npm install --save-dev webpackinstead ofnpm i -D webpack. While the latter is shorter, beginners don't always know whatior-Dmeans. And we don't want to confuse them so early :).Bundles both CommonJS and AMD modules (even combined).since webpack v2 it also bundles ES Modules. Maybe put that up first, since it's the "new thing".Over all, nice work on the webpack readme. It's a lot better!
Sure, I'll give you feedback and will try to get at least one other core member to do it too 😃 .
michael-ciniawsky commentedon Nov 5, 2016
👍
kk. I will add/extrapolate webpack's native ES6 Modules/System.import support.
kk, I will try to find another one (example from docs splash page, simple config intro etc.), but substance to discuss later on.
I will take a look at the new docs and align structure (README chapters) with them, where possible, as I intended with the old docs :). When is depending on how long it will approximately take for v2 to be released, I have it in mind, but true maybe links could be set later.
Yep same as in README Boilerplate -> outdated, will be removed.
kk I will add at least one table for 'common' plugins under plugins aswell then. Any sugesstions for important/recommended/most used plugins, besides the core, extract-text, compression plugin(s) and friends?
For sure 😛
kk discarded, backers and sponsors are enough to signal community importance/friendliness/size
Contributors => Github UI :)
👍 Appreciated
michael-ciniawsky commentedon Nov 10, 2016
ping :)
SpaceK33z commentedon Nov 10, 2016
@michael-ciniawsky done thanks to @skipjack! See https://webpack.js.org/branding/
michael-ciniawsky commentedon Nov 10, 2016
@SpaceK33z thx 👍 on it from now. Finish webpack/webpack, then a smaller one like json-loader for style approvement like discussed, when approved style-, css-, less- , file-, url-, raw-loader, + loader-utils next :)
3 remaining items
TheLarkInn commentedon Nov 23, 2016
No problem!!!!! @SpaceK33z Do you wanna follow up with this.
SpaceK33z commentedon Nov 24, 2016
@michael-ciniawsky, I made a PR to your repo which brings the readme up-to-date with the latest changes and fixes a couple of small issues I had with it. The rest looks very good. I'm not completely sure about the advanced example. We could remove it and just link to the Get started page. But let's just leave in for now so we can focus on the loader README's.
michael-ciniawsky commentedon Nov 24, 2016
@SpaceK33z
Yep same here, I can add an basic example (getting started) above the advance one, subject to change nevertheless.
Currently working on it PR's coming during the day 😛
simon04 commentedon Feb 12, 2017
Since webpack 2 is out and all tasks (#3195 (comment)) are done, can this issue be closed?
michael-ciniawsky commentedon Feb 12, 2017
@simon04 I think so, a few loaders @webpack-contrib are missing but I have unfinished work regarding that and push when I have time