gulp-htmlprocessor
Version:
Process html files at build time to modify them depending on the release environment
29 lines (20 loc) • 917 B
HTML
<html class="js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>test</title>
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-72x72-precomposed.png" sizes="72x72">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-114x114-precomposed.png" sizes="114x114">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-144x144-precomposed.png" sizes="144x144">
<link rel="stylesheet" href="style.min.css">
</head>
<body>
<h1>Header include</h1>
<p>This is dist target</p>
<script src="app.min.js"></script>
<script src="require.js" data-main="app/js/config.js"></script>
<script data-main="src/js/config.js" src="require.js"></script>
</body>
</html>