mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 14:22:33 +01:00
22 lines
365 B
JavaScript
22 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"
|
||
|
};
|