applyPlugins(plugins, component) {
        const newPlugins = component.webpackPlugins() || [];

        plugins.push(...concat(newPlugins));
    }
Apply the webpack plugins for the component.

@param {import('webpack').WebpackPluginInstance[]} plugins
@param {Component} component