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

dndc-entry-extract-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dndc-entry-extract-webpack-plugin

小程序构建入口生成插件

  • 1.0.9
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

entry-extract-webpack-plugin

微信小程序构建入口生成插件,依赖于源代码目录中的 app.json 文件进行入口生成,属于 webpack-build-miniprogram 工具包核心依赖。

Installation

$ npm install entry-extract-webpack-plugin --save

Usage

const EntryExtractPlugin = require('entry-extract-webpack-plugin');

module.exports = {
  // ...
  plugins: [
    new EntryExtractPlugin(options),
  ],
  // ...
};

Options

context

  • Type: String
  • Default: compiler.context

源代码目录绝对路径,建议您在webpack配置文件中设置context属性。

templateExt

  • Type: String
  • Default: .wxml

模板文件后缀名,可支持.wxml.swan 两种文件。

License

MIT

Keywords

FAQs

Package last updated on 11 Jul 2021

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