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.
 
 
temptress-bot/webpack.config.js

32 lines
537 B

const path = require('path');
module.exports = {
output: {
filename: 'worker.js',
path: path.join(__dirname, 'dist')
},
mode: 'production',
resolve: {
extensions: ['.ts', '.tsx', '.js'],
plugins: [],
fallback: {
zlib: false,
https: false,
fs: false,
fastify: false,
express: false,
path: false
}
},
module: {
rules: [
{
test: /\.tsx?$/,
loader: 'ts-loader',
options: {
transpileOnly: true
}
}
]
}
};