I can't (lazy) load the plugin through 'webpack-load-plugins', while 'extract-text-webpack-plugin' does work. What am I doing wrong? This way I do not need to require everything seperately.
var webpackLoadPlugins = require('webpack-load-plugins');
var plugins = webpackLoadPlugins();
webpackLoadPlugins({
rename: {
'webpack-manifest-plugin': 'jsonManifest',
'extract-text-webpack-plugin': 'extractText'
}
});
... use: plugins.extractText.extract({}); // does work
... new plugins.jsonManifest // does not work, console.log does return 'undefined'
Hi,
I can't (lazy) load the plugin through 'webpack-load-plugins', while 'extract-text-webpack-plugin' does work. What am I doing wrong? This way I do not need to require everything seperately.
package.json
}