@alvaro-cuesta/webpack-parts

Álvaro Cuesta's Webpack config parts

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Sep 1, 2018May 20, 2018Minified + gzip package size for @alvaro-cuesta/webpack-parts in KB

Readme

Álvaro Cuesta Webpack config parts

My Webpack (^4.8.3) config parts. Simple and sane Webpack defaults for my most common use cases.

npm install --save-dev @alvaro-cuesta/webpack-parts webpack webpack-merge webpack-cli webpack-serve react-hot-loader

You can import parts individually, load a preset or just copy&paste (or base your project) in one of our skeletons.

For now some parts are heavily tied to package.json script names. Namely, build, build:gh-pages, deploy:gh-pages and public are required to configure webpack correctly. Check out our example package.json.

Publishing @alvaro-cuesta/webpack-parts

  1. yarn version --(major | minor | patch)
  2. yarn publish
  3. git push && git push --tags

License

ISC License (ISC)

Copyright (c) 2018, Álvaro Cuesta https://alvaro-cuesta.github.io

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.