mirror of
https://github.com/strapi/strapi.git
synced 2025-07-24 09:25:25 +00:00
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
const path = require('path');
|
|
const pkg = require('./package.json');
|
|
|
|
const alias = Object.keys(pkg.dependencies).concat([
|
|
'object-assign',
|
|
'whatwg-fetch',
|
|
]);
|
|
|
|
module.exports = {};
|
|
|
|
// module.exports = alias.reduce((acc, curr) => {
|
|
// acc[curr] = path.resolve(__dirname, 'node_modules', curr);
|
|
|
|
// return acc;
|
|
// }, {});
|