Skip to content

jkrielaars/create-dir-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-dir-webpack-plugin

npm version by Jasper Krielaars

Based on make-dir-webpack-plugin by Monokh

Make directories at webpack compilation. Webpack 5 compatible. Useful when another webpack plugin depends on a directory existing.

Installation

npm install create-dir-webpack-plugin --save-dev

Examples

var CreateDirPlugin = require('create-dir-webpack-plugin');

module.exports = {
  ...
  plugins: [
    new CreateDirPlugin([
      './dist/folder1',
      './dist/folder2'
    ])
  ]
};

About

Webpack plugin to create empty directories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published