webpack-inject-plugin

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

build

tsc

build:watch

tsc -- --watch

lint

tslint . --format stylish

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 2/19/2019

Downloads

Maintainers