mirror of
https://github.com/tcsenpai/vvk.git
synced 2025-06-06 19:25:37 +00:00
24 lines
392 B
JavaScript
24 lines
392 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './src/index.ts',
|
|
target: 'node',
|
|
mode: 'production',
|
|
output: {
|
|
filename: 'index.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
resolve: {
|
|
extensions: ['.ts', '.js'],
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
use: 'ts-loader',
|
|
exclude: /node_modules/,
|
|
},
|
|
],
|
|
},
|
|
};
|