Build website css when running make dist

This commit is contained in:
JC Brand 2020-01-09 17:07:18 +01:00
parent 4f4b10d2a3
commit e78aa68233
3 changed files with 3 additions and 2 deletions

View File

@ -180,7 +180,7 @@ dist:: build
.PHONY: build
build:: stamp-npm
npm run dev && npm run build
npm run dev && npm run build && make dist/website.css && make dist/website.min.css
.PHONY: cdn
cdn:: stamp-npm

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Converse.js: A free chat client for your website" />
<meta name="description" content="Converse: An XMPP chat client which can be integrated into any website" />
<meta name="author" content="JC Brand" />
<meta name="keywords" content="xmpp chat webchat converse.js" />
<link rel="manifest" href="./manifest.json">

View File

@ -12,6 +12,7 @@
<!-- These files are NOT needed when using converse.js in your own project. -->
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico"/>
<link type="text/css" rel="stylesheet" media="screen" href="/dist/website.min.css" />
<link rel="manifest" href="./manifest.json">
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<script type="text/javascript" src="/src/website.js"></script>
<script type="text/javascript" src="analytics.js"></script>