mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +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',
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 |