mirror of
https://github.com/strapi/strapi.git
synced 2025-07-18 14:32:56 +00:00
23 lines
339 B
JavaScript
23 lines
339 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Module dependencies
|
|
*/
|
|
|
|
// Node.js core.
|
|
const path = require('path');
|
|
|
|
/**
|
|
* Generate a core API
|
|
*/
|
|
|
|
module.exports = {
|
|
templatesDirectory: path.resolve(__dirname, '..', 'templates'),
|
|
before: require('./before'),
|
|
targets: {
|
|
':filePath/:filename': {
|
|
template: 'controller.template',
|
|
},
|
|
},
|
|
};
|