Name Pack
Configure the Webpack configuration name.
Overview
Setup
Name Pack
is included in the complete
and default
editions.
Current Release
npm install --save-dev @packmule/name-pack
Nightly Build
npm install --save-dev @packmule/name-pack@nightly
API
NamePack(name: string)
Usage
Example
Set the Webpack configuration name.
import Packmule from '@packmule/core';
import NamePack from '@packmule/name-pack';
const packmule = new Packmule();
packmule.add(new NamePack('main'));
return packmule.generate();