@alvaro-cuesta/webpack-parts
v0.12.3
Published
Álvaro Cuesta's Webpack config parts
Downloads
37
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
yarn version --(major | minor | patch)
yarn publish
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.