$ cnpm install @webpack-cli/generators
This package contains all webpack-cli related yeoman generators.
npm i -D webpack-cli @webpack-cli/generators
To run the package programmatically, install it as a dependency. When using the package programmatically, one does not have to install webpack-cli.
const {
addonGenerator,
initGenerator,
loaderGenerator,
pluginGenerator,
} = require("@webpack-cli/generators");
// ... compose with yeoman env or add a generator to your own yeoman project
webpack-defaultsCopyright 2013 - present © cnpmjs.org | Home |