directory-module-webpack-plugin
v0.1.2
Published
Webpack plugin generating modules based on directory contents
Downloads
1
Readme
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";