This setup also includes Bootstrap 5 and Feather Icons
- Install dependencies with
npm install
- Start server endpoint with
npm run watch
- Now you can visit
localhost:7000
from your browser.
- Custom
esbuild
setup for ⚡ super ⚡ fast ⚡ builds. - CSS/JS build files are outputted to
dist/styles/style.css
&dist/scripts/script.js
withnpm run build
- To add list of files for
PurgeCSS
, add them inesbuid_watch.js
andesbuild.js
insidepurgecssPlugin2({ content: glob.sync([ ... ]})
block. - To add a list of safe-list classes that should always be added in CSS, add them in
views/purgecss.html
.