directory-module-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

npm version Build Status Coverage Status Maintainability GitHub license

directory-module-webpack-plugin

Generate module based on directory contents

Usage

Configuration

import DirectoryModulePlugin from "directory-module-webpack-plugin";

export = {
    entry: "./index.js",
    plugins: [
        new DirectoryModulePlugin({
            object: "json-object",
            array: "json-array",
            ts_object: "ts-object",
        }),
    ],
};

Source code

import object_directory_contents from "./object";

Package Sidebar

Install

npm i directory-module-webpack-plugin

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

39.9 kB

Total Files

17

Last publish

Collaborators

  • perlmint