tiny-webpack

  • Version 0.0.1-alpha.1
  • Published
  • 2.59 MB
  • 6 dependencies
  • MIT license

Install

npm i tiny-webpack
yarn add tiny-webpack
pnpm add tiny-webpack

Overview

Powerful JavaScript Bundler

Index

Functions

function jspack

jspack: (options: JsPackOptions) => Compiler;

    Interfaces

    interface JsPackOptions

    interface JsPackOptions {}

      property context

      context: unknown;

        property cwd

        cwd: string;

          property devtool

          devtool: boolean;

            property entry

            entry: string;

              property mode

              mode: 'development' | 'production';

                property module

                module: {
                rules: Array<{
                test: RegExp;
                use: string[];
                }>;
                };

                  property output

                  output: {
                  path: string;
                  filename: string;
                  };

                    property plugins

                    plugins: JsPackPluginOptions[];

                      interface JsPackPluginOptions

                      interface JsPackPluginOptions {}

                        property name

                        name: string;

                          method apply

                          apply: (compiler: Compiler) => void;

                            method constructor

                            constructor: (options?: object) => any;

                              Package Files (1)

                              Dependencies (6)

                              Dev Dependencies (12)

                              Peer Dependencies (0)

                              No peer dependencies.

                              Badge

                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/tiny-webpack.

                              • Markdown
                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/tiny-webpack)
                              • HTML
                                <a href="https://www.jsdocs.io/package/tiny-webpack"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>