Skip to content

Commit

Permalink
chore(NA): add new platform discovered plugins as entry points to che…
Browse files Browse the repository at this point in the history
…ck for dependencies on clean dll tasks (elastic#50610) (elastic#50611)
  • Loading branch information
mistic committed Nov 14, 2019
1 parent f115dfa commit bf795de
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,18 @@ export const CleanClientModulesOnDLLTask = {
`${baseDir}/src/plugins/*/server/index.js`,
`!${baseDir}/src/plugins/**/public`
]);
const discoveredNewPlatformXpackPlugins = await globby([
`${baseDir}/x-pack/plugins/*/server/index.js`,
`!${baseDir}/x-pack/plugins/**/public`
]);

// Compose all the needed entries
const serverEntries = [ ...mainCodeEntries, ...discoveredLegacyCorePluginEntries, ...discoveredPluginEntries];
const serverEntries = [
...mainCodeEntries,
...discoveredLegacyCorePluginEntries,
...discoveredPluginEntries,
...discoveredNewPlatformXpackPlugins
];

// Get the dependencies found searching through the server
// side code entries that were provided
Expand Down

0 comments on commit bf795de

Please sign in to comment.