4 ms·
Have you checked out webpack.js.org/concepts. webpack.js.org is our entire new documentation effort designed initially for first time users. Take a look and fe
by thelarkinn 10y ago
Have you checked out webpack.js.org/concepts. webpack.js.org is our entire new documentation effort designed initially for first time users.
Take a look and feel free to submit an issue if there are things that are still confusing or you would like to see more of.
- pault 10y agoHere are the things I had the most trouble with in the beginning: - Externals. I still have trouble wrapping my head around this directive. - Multiple output paths for multiple entry points (it wasn't intuitive to make the entry point key a relative path and I had to discover this method on stack overflow). To be fair, a proper set of documentation for webpack would be a several hundred page book. Edit: I see my second point still isn't mentioned anywhere in the old or new docs. Specifically: const ExtractCSS = new ExtractTextPlugin('[name].css'); ... entry: { ['./app/bundle']: './source/app/index.js', ['./admin/bundle']: './source/admin/index.js' }, output: { path: './build/', filename: '[name].js' } ... would create: build/ app/ bundle.js bundle.css admin/ bundle.js bundle.css
- thelarkinn 10y agoThanks for the thoughtful reply. I've created an issue for it so that we can discuss and plan where and what content should be added. https://github.com/webpack/webpack.js.org/issues/416 https://github.com/webpack/webpack.js.org/issues/416 Also, if you would like to be involved in the discussion or thread, feel free to. We welcome constructive ideas and suggestions.
- dismantlethesun 10y agoWow. This documentation is so much better than what was previously available. Thank you from the bottom of my heart. The one thing I will point out is that from a UX perspective the font you are using "Cabin", is naturally smaller and more compact than more common sans fonts (e.g. Open Sans, Century Gothic). Because of this, even though your site is font-size 16, everything appears smaller than it would normally be.
- thelarkinn 10y agoComing from a no-design-ux background, I never considered this and it would be a perfect issue on our github. Would you be interested in creating it? github.com/webpack/webpack.js.org/issues/new
- thelarkinn 10y agoComing from a no-design-ux background, I never considered this and it would be a perfect issue on our github. Would you be interested in creating it? github.com/webpack/webpack.js.org/issues/new
- deleted 10y ago[deleted]
- Pigo 10y agoI had never seen this before. I'm excited to explore it, as I use webpack for all my projects anymore. Thanks you.