mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 15:01:28 +00:00
22 lines
349 B
TypeScript
22 lines
349 B
TypeScript
const path = require("path");
|
|
|
|
module.exports = {
|
|
entry: "./src/index.ts",
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.tsx?$/,
|
|
use: "ts-loader",
|
|
exclude: /node_modules/,
|
|
},
|
|
],
|
|
},
|
|
resolve: {
|
|
extensions: [".ts"],
|
|
},
|
|
output: {
|
|
filename: "output.js",
|
|
path: path.resolve(__dirname, "build"),
|
|
},
|
|
};
|