To get a better feel for Kevin, a while back I went through the workflow of setting it up in a project. I realized at the time that our default getAssetName implementation didn't work — the user is forced to use a custom implementation.
That's because requests come into express as /path/to/file.js, but Kevin knows about assets as path/to/file. So we'd tell Kevin, "give me /path/to/file.js," and Kevin would say, "I don't know what that is."
To get a better feel for Kevin, a while back I went through the workflow of setting it up in a project. I realized at the time that our default
getAssetName
implementation didn't work — the user is forced to use a custom implementation.That's because requests come into express as
/path/to/file.js
, but Kevin knows about assets aspath/to/file
. So we'd tell Kevin, "give me/path/to/file.js
," and Kevin would say, "I don't know what that is."I used this custom implementation to get things to work with a bare-bones setup.
I've just copied that implementation over here.