chore(NA): add new platform discovered plugins as entry points to check for dependencies on clean dll tasks (#50610)
This commit is contained in:
parent
071656b908
commit
70c8a14eca
|
@ -49,9 +49,18 @@ export const CleanClientModulesOnDLLTask = {
|
||||||
`${baseDir}/src/plugins/*/server/index.js`,
|
`${baseDir}/src/plugins/*/server/index.js`,
|
||||||
`!${baseDir}/src/plugins/**/public`
|
`!${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
|
// Compose all the needed entries
|
||||||
const serverEntries = [ ...mainCodeEntries, ...discoveredLegacyCorePluginEntries, ...discoveredPluginEntries];
|
const serverEntries = [
|
||||||
|
...mainCodeEntries,
|
||||||
|
...discoveredLegacyCorePluginEntries,
|
||||||
|
...discoveredPluginEntries,
|
||||||
|
...discoveredNewPlatformXpackPlugins
|
||||||
|
];
|
||||||
|
|
||||||
// Get the dependencies found searching through the server
|
// Get the dependencies found searching through the server
|
||||||
// side code entries that were provided
|
// side code entries that were provided
|
||||||
|
|
Loading…
Reference in a new issue