webpack-inject-plugin

v1.5.4
A webpack plugin to dynamically inject code into the bundle.
webpack plugin loader inject

build

tsc

build:watch

tsc --watch

lint

eslint ./src --ext .js,.ts

test

jest

test:example

cd example && webpack && npm run test:example:first && npm run test:example:second

test:example:first

cd example && cat dist/main.js | grep "console.log('hello world')"

test:example:second

cd example && cat dist/main.js | grep "console.log('second injected code')"

test:watch

npm run test -- --watch

contributors:add

all-contributors add

contributors:generate

all-contributors generate

release

auto shipit -v

Metadata

  • MIT
  • Whatever
  • Adam Dierkens
  • released 1/6/2020

Downloads

Maintainers