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'),
|
|
|
|
},
|
|
|
|
}),
|
2021-04-03 16:03:15 +00:00
|
|
|
alias({
|
|
|
|
entries: {
|
|
|
|
'yargs': join('.', 'node_modules', 'yargs', 'index.cjs'),
|
|
|
|
},
|
|
|
|
}),
|
2020-09-06 21:51:53 +00:00
|
|
|
],
|
|
|
|
};
|