|
|
@ -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'], |
|
|
|
}, |
|
|
|
}, |
|
|
|