/variableFont

Primary LanguageJavaScript

Webpack Frontend Starterkit

Dependabot badge

A lightweight foundation for your next webpack based frontend project.

Installation

npm install

Start Dev Server

npm start

Build Prod Version

npm run build

Features:

When you run npm run build we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html.

FONT GENERATION COMMAND:

for f in *.ttf;do
msdf-bmfont -i ../charset.txt -f json -r 16 -s 30 --pot --smart-size $f done