This is my personal website. It was made using Hugo.
npm run build
This will run webpack
to build the CSS and Javascript, and hugo
to generate the site.
npm run serve
This will do the same as npm run build
, and run Hugo's built-in web server.
npm run watch
npm run prod
Used by Netlify. It does the same thing as the build
task and minifies assets.
This will do the same as npm run serve
and monitor changes for any .scss
or .js
file, thus rebuilding the site on any change.
Short-code | Emoji | Meaning |
---|---|---|
:wrench: |
🔧 | Change configuration |
:bug: |
🐛 | Fix bug |
:sparkles: |
✨ | New feature |
:art: |
🎨 | Clean code |
:pencil2: |
✏️ | Add text / write blog post |
:memo: |
📝 | Documentation related |
:iphone: |
📱 | Responsive design work |
:lipstick: |
💄 | Updating UI and style files |
:mag: |
🔍 | Improve SEO |