const path = require('path'); module.exports = { mode: 'development', target: 'node', devtool: 'inline-source-map', entry: { main: './src/tsdb-kit/index.ts', }, output: { path: path.resolve(__dirname, './bin'), filename: 'tsdb-kit.js' }, resolve: { extensions: ['.ts', '.js'], }, module: { rules: [ { test: /.ts?$/, loader: 'ts-loader', options: { configFile: 'bin.tsconfig.json' } } ] } };