1
0
Fork 0
cautious-journey/config/rollup/project.js

16 lines
486 B
JavaScript
Raw Normal View History

2020-09-06 21:51:53 +00:00
const { join } = require('path');
const alias = require('rollup-plugin-alias');
module.exports = {
plugins: [
alias({
resolve: ['.tsx', '.ts'],
entries: {
'@gitbeaker/node': require.resolve('@gitbeaker/node'),
'universal-user-agent': join('.', 'node_modules', 'universal-user-agent', 'dist-node', 'index.js'),
'universal-github-app-jwt': join('.', 'node_modules', 'universal-github-app-jwt', 'dist-node', 'index.js'),
},
}),
],
};