var express = require('express');
var { join } = require('path');

/**
 * 获取<%= alias %>库文件
 * @param {express.request} request 请求
 * @param {express.response} response 响应
 */
function get<%= name %>JS(request, response) {
  response.sendFile(join(__dirname, '../../dist/<%= frontendFileName %>/<%= fileName %>.js'));
}

module.exports = {
  'GET /<%= fileName %>.js': get<%= name %>JS
};
