mirror of
https://github.com/strapi/strapi.git
synced 2025-07-15 21:11:28 +00:00
26 lines
421 B
JavaScript
26 lines
421 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: 'model.template',
|
|
},
|
|
':filePath/:filenameSettings': {
|
|
template: 'model.settings.template',
|
|
},
|
|
},
|
|
};
|