npm

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

2.1.0 • Public • Published

Alias Pack npm-latest

Configure Webpack module aliases.

Overview

Setup

Alias Pack is included in the complete and default editions.

Current Release

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

Nightly Build

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

API

AliasPack(name: string, target: string)

Usage

Example

Set an alias for a directory.

import Packmule from '@packmule/core';
import AliasPack from '@packmule/alias-pack';

const packmule = new Packmule();
packmule.add(new AliasPack('Utility', 'src/common/utility/'));
return packmule.generate();

License

MIT


Package Sidebar

Install

npm i @packmule/alias-pack

Weekly Downloads

15

Version

2.1.0

License

MIT

Unpacked Size

5.77 kB

Total Files

11

Last publish

Collaborators

  • t.esterer
  • thasmo