New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-spare-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-spare-webpack-plugin

Create spare webpack plugin

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

Create Spare Webpack Plugin

Install the plugin via NPM:

npm i create-spare-webpack-plugin --save

webpack.config.js

module.exports = {
  entry: './src/index.js',
  plugins: [
    new CreateSpareWebpackPlugin({
      // 备用文件目录,比对是否存在,不存在生成,根据sep 目录规则生成
      path: PATH.join(cachePath, './md'),
      sep: '___', // 检查目标目录文件,文件名存储,文件夹+下划线间隔+文件名
      directoryTrees: { // 索引目录
        dir: cmd.markdownDirs,
        mdconf: true,
        extensions: /\.md$/,
      },
    }),
  ]
}

FAQs

Package last updated on 24 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc