babel-plugin-prepend-shebang

prepend node env shebang to a file

Usage no npm install needed!

<script type="module">
  import babelPluginPrependShebang from 'https://cdn.skypack.dev/babel-plugin-prepend-shebang';
</script>

README

babel-plugin-prepend-shebang

prepend node env shebang to a file

Installation

npm i babel-plugin-prepend-shebang

Usgae

add this to your package.json file "add-shebang": "babel --plugins prepend-shebang dist/some-file.js --out-dir ./dist"