1 | function managerEntries(entry, options) {
|
2 | return [...entry, require.resolve('./dist/esm/register')];
|
3 | }
|
4 |
|
5 | function config(entry = [], { addDecorator = true } = {}) {
|
6 | const actionConfig = [];
|
7 | if (addDecorator) {
|
8 | actionConfig.push(require.resolve('./dist/esm/preset/addDecorator'));
|
9 | }
|
10 | return [...entry, ...actionConfig, require.resolve('./dist/esm/preset/addArgs')];
|
11 | }
|
12 |
|
13 | module.exports = {
|
14 | managerEntries,
|
15 | config,
|
16 | };
|