@webpack-cli/generate-loader
v1.1.0
Published
A scaffold for generating a loader
Downloads
25
Readme
webpack-cli generate-loader
Description
This package contains the logic to initiate new loader projects.
Installation
npm i -D webpack-cli @webpack-cli/generate-loader
Usage
To run the package programmatically, install it as a dependency. When using the package programmatically, one does not have to install webpack-cli.
Node
const generateLoader = require('@webpack-cli/generate-loader').default;
generateLoader();
CLI (via webpack-cli
)
npx webpack-cli generate-loader