@packmule/output-pack
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Output Pack npm-latest

Define the output options for webpack.

Overview

Setup

Output Pack is included in the complete and default editions.

Current Release

npm install --save-dev @packmule/output-pack

Nightly Build

npm install --save-dev @packmule/output-pack@nightly

API

OutputPack(path: string, web: string = '/')

Options

  • root - Used to build an absolute path of the configured output path.

Hints

  • hash - Configures whether file name hashing is enabled or not.

Usage

Example

Configure the output options for the bundle.

import Packmule from '@packmule/core';
import OutputPack from '@packmule/output-pack';

const packmule = new Packmule();
packmule.add(new OutputPack('public/', '/'));
return packmule.generate();

License

MIT


Package Sidebar

Install

npm i @packmule/output-pack

Weekly Downloads

151

Version

2.1.0

License

MIT

Unpacked Size

7.29 kB

Total Files

11

Last publish

Collaborators

  • t.esterer
  • thasmo