New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@dumlj/inject-entry-script-webpack-plugin

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dumlj/inject-entry-script-webpack-plugin

Append or prepend scripts to entries.

latest
Source
npmnpm
Version
2.5.26
Version published
Maintainers
3
Created
Source

License: MIT  Github Repo  NPM Version  See Docs  codecov 

Inject Entry Script Webpack Plugin

Append or prepend scripts to entries.

BACKGROUND

It is mainly used to quickly insert scripts into various javascript entry files.

FEATURE

  • Compatible with various entry option formats.
  • Quickly import to various entries.

INSTALL

# use npm
$ npm install --dev @dumlj/inject-entry-script-webpack-plugin
# use yarn
$ yarn add --dev @dumlj/inject-entry-script-webpack-plugin
# use pnpm
$ pnpm add @dumlj/inject-entry-script-webpack-plugin -D

USAGE

import { InjectEntryScriptWebpackPlugin } from '@dumlj/inject-entry-script-webpack-plugin'

export default {
  // ....
  plugins: [new InjectEntryScriptWebpackPlugin('need-inject-script.js')],
}

LIVE DEMO

INTERNAL DEPENDENCIES

@dumlj/inject-entry-script-webpack-plugin
└─┬ @dumlj/seed-webpack-plugin
  ├─┬─ @dumlj/feature-updater
  │ ├─── @dumlj/shell-lib
  │ ├─── @dumlj/util-lib
  │ └─── @dumlj/mock-libPRIVATE
  └─── @dumlj/mock-libPRIVATE

FAQs

Package last updated on 11 Mar 2024

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