Wacker - The Easy Web Packer
Zero configuration web application / library bundler built on top of webpack
Getting started
1 - Install
npm install wacker --save-dev
2 - Create an entry point. E.g a html, script or css file
index.html
<html>
<body>
<script src="src/main.js"></script>
</body>
</html>
and a script. src/main.js
function main() {
console.log('do something');
}
main();
3 - Add scripts to package.json
{
"scripts": {
"build": "wack build -e index.html",
"start": "wack serve -e index.html",
}
}
4 - Run/build it
npm start
npm run build
Supports