{"library":"make-dir-webpack-plugin","title":"MakeDirWebpackPlugin","description":"A webpack plugin that creates directories during the compilation process. Version 0.1.0 is the latest stable release with no clear release cadence. It is useful when other plugins or loaders expect specific directories to exist (e.g., for output assets). Minimal configuration; niche alternative to using Node.js `mkdir` scripts.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install make-dir-webpack-plugin"],"cli":null},"imports":["const MakeDirWebpackPlugin = require('make-dir-webpack-plugin');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const MakeDirWebpackPlugin = require('make-dir-webpack-plugin');\n\nmodule.exports = {\n  entry: './src/index.js',\n  output: {\n    path: __dirname + '/dist',\n    filename: 'bundle.js'\n  },\n  plugins: [\n    new MakeDirWebpackPlugin({\n      dirs: [\n        { path: './dist/css' },\n        { path: './dist/js' }\n      ]\n    })\n  ]\n};","lang":"javascript","description":"Creates two directories ('dist/css' and 'dist/js') before webpack compilation runs.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}