You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
493 B
30 lines
493 B
2 years ago
|
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'
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
};
|