mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 06:21:37 +01:00
21 lines
365 B
JavaScript
21 lines
365 B
JavaScript
const path = require("path");
|
|
|
|
module.exports = {
|
|
module: {
|
|
rules: [
|
|
{
|
|
exclude: [path.resolve(__dirname, "node_modules")],
|
|
test: /\.ts$/,
|
|
use: "ts-loader"
|
|
}
|
|
]
|
|
},
|
|
output: {
|
|
filename: "server.js",
|
|
path: path.resolve(__dirname, "dist")
|
|
},
|
|
resolve: {
|
|
extensions: [".ts", ".js"]
|
|
},
|
|
target: "node"
|
|
};
|