A lightweight foundation for your next webpack based frontend project.
npm install
npm start
npm run build
- ES6 Support via babel (v7)
- SASS Support via sass-loader
- Linting via eslint-loader
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
.
for f in *.ttf;do
msdf-bmfont -i ../charset.txt -f json -r 16 -s 30 --pot --smart-size $f
done