Browse Source

shabang to bin

pull/8/head
rozetko 2 years ago
parent
commit
8629f86332
  1. 4
      webpack.config.js

4
webpack.config.js

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

Loading…
Cancel
Save