diff --git a/webpack.config.js b/webpack.config.js index 2cd6b25..cee3958 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,4 @@ +const webpack = require('webpack'); const path = require('path'); @@ -12,6 +13,9 @@ module.exports = { path: path.resolve(__dirname, './bin'), filename: 'tsdb-kit.js' }, + plugins: [ + new webpack.BannerPlugin({ banner: "#!/usr/bin/env node", raw: true }), + ], resolve: { extensions: ['.ts', '.js'], },