Skip to content

imjasonmiller/jasonmiller_zola

Repository files navigation

zola 🦀 + webpack 📦

A static website built with Zola.

The stylesheet is generated from Sass by Zola while JavaScript is handled by Webpack. The latter emits a modular .mjs and legacy .js bundle using the module/nomodule pattern.

Install

$ npm install 

Build

$ npm run build

Watch

$ npm run watch

Analyze Webpack bundle

If you would like to analyze the generated Webpack bundle with webpack-bundle-analyzer, you can do so with the following command:

$ npm run analyze

This will start a server on 127.0.0.1:8888.