This repository was archived by the owner on Mar 18, 2022. It is now read-only.

Description
I am using express to build a single page application with React.js and I am using inline html to send my app to the client:
app.get('*', function(req, res) {
res.send(
`
<!doctype html>
<head>
<link rel="stylesheet" type="text/css" href="${CDN('stylesheets/foo.min.css')}">
<title>Figure</title>
</head>
<div id="root"></div>
<script src='${CDN('/javascripts/bundle.js')}'></script>
</body>
</html>
`
)
})
I would like to be able to explicitly define my list of assets, [./statics/stylesheets/foo.min.css, ./statics/javascripts/bundle.js] rather than walking though views and extracting assets in the walk function.