@krakenjs/webpack-config-grumbler
TypeScript icon, indicating that this package has built-in type declarations

8.1.3 • Public • Published

@krakenjs/webpack-config-grumbler

Installation

npm install -D @krakenjs/webpack-config-grumbler

Usage

  1. Create a webpack.config.js file at the root of your project.

  2. Add the following contents to your webpack.config.js file:

    import { getWebpackConfig } from "@krakenjs/webpack-config-grumbler";
    
    const FILE_NAME = "mylibrary";
    const MODULE_NAME = "mylibrary";
    
    export const WEBPACK_CONFIG = getWebpackConfig({
      filename: `${FILE_NAME}.min.js`,
      modulename: MODULE_NAME,
      minify: true,
    });
    
    export default [WEBPACK_CONFIG];

Readme

Keywords

Package Sidebar

Install

npm i @krakenjs/webpack-config-grumbler

Weekly Downloads

125

Version

8.1.3

License

none

Unpacked Size

31.4 kB

Total Files

10

Last publish

Collaborators

  • ravishekhar00
  • dustijones
  • gregjopa
  • sdk-integrations-npm
  • wsbrunson
  • mstuart
  • sioked