Skip to content

Commit b83c898

Browse files
author
IceBuildUser
committed
Merge remote-tracking branch 'origin/release' into HEAD
2 parents 4a4e9bb + f086d8c commit b83c898

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/services/plugins-service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ export class PluginsService implements IPluginsService {
131131
platformData.platformProjectService.preparePluginNativeCode(pluginData).wait();
132132

133133
shelljs.rm("-rf", path.join(pluginDestinationPath, pluginData.name, "platforms"));
134+
// Remove node_modules of the plugin. The destination path should have flattened node_modules.
135+
shelljs.rm("-rf", path.join(pluginDestinationPath, pluginData.name, constants.NODE_MODULES_FOLDER_NAME));
134136

135137
// Show message
136138
this.$logger.out(`Successfully prepared plugin ${pluginData.name} for ${platform}.`);

0 commit comments

Comments
 (0)