0.0.3 • Published 5 years ago
wacker v0.0.3
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
# run
npm start
# build
npm run build
Supports
- Javascript
- Typescript
- Css
- Scss
- Angular
- React
- Svelte
- Vue
- Mono repo / Lerna