/scriptagify

Wrap a js bundle in a script tag

Primary LanguageJavaScript

scriptagify

Wrap a js bundle in a script tag

Heavily inspired by indexhtmlify

Works great with webpager

echo 'console.log("in a bundle!")' > /tmp/b.js
browserify /tmp/b.js | scriptagify | webpager

License

MIT