grunt-filerev-match-replace
Version:
Replace assert references reversioned by filerev.
33 lines (31 loc) • 1.05 kB
HTML
<html>
<head>
<meta charset="utf-8">
<title>Index</title>
<!-- css absolute path -->
<link rel="stylesheet" media="all" href="/asserts/css/index.css">
<!-- relative path -->
<link rel="stylesheet" media="all" href="../asserts/css/index.css">
</head>
<body>
<div>
<img src="/asserts/images/osi.svg">
</div>
<script src="http://othersite.com/js/require.js"></script>
<script>
require.config({
baseUrl: '/',
bundles: {
'lib/bundle': ['zepto', 'mustache', 'react', 'react-dom', 'lib/ds-helper', 'lib/url']
},
paths: {
'module-a': '/asserts/js/module-a',
'module-b': '/asserts/js/module-b',
'underscore': 'http://othersite.com/res/js/underscore-min'
}
});
</script>
<script src="/asserts/js/index.js"></script>
</body>
</html>