0.1.2 • Published 6 years ago

directory-module-webpack-plugin v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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