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";

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.20

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