append-loader

2.0.0 • Public • Published

append-loader

Used to insert arbitrary content at the end of a module.

Installation

npm install append-loader

Usage

To inject Javascript, pass in a value to content. All other parameters will be ignored. For example:

'append?content=' + encodeURIComponent('module.exports="foobar";module={exports:{}}')

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Readme

Keywords

none

Package Sidebar

Install

npm i append-loader

Weekly Downloads

16

Version

2.0.0

License

MIT

Unpacked Size

1.37 kB

Total Files

4

Last publish

Collaborators

  • danwang