Files
remark42/frontend/tasks/getLocalePath.js
T

7 lines
156 B
JavaScript

const path = require('path');
module.exports = {
getLocalePath({ locale }) {
return path.resolve(__dirname, `../app/locales/${locale}.json`);
},
};