modpak
v0.0.1
Published
Curated configuration for Webpack
Downloads
3
Readme
modpak
Webpack is a powerful and useful tool, but it can be quite frustrating to set up from scratch. modpak provides a small and focused set of helpers that alleviate some of the pain of dealing with Webpack’s arbitrary and ornery configuration format.
This isn’t intended to be a general purpose tool. It’s designed just for me to address my own specific use cases. If other people find it useful, that’s an added bonus.
Install
Install the dependency in your project:
npm install --save-dev modpak
Usage
Export the modpak
wrapper from webpack.config.js
, passing in your own config properties:
var modpak = require('modpak');
module.exports = modpak({
source: 'app',
target: 'web'
});