Skip to content

Commit 3a17384

Browse files
authored
Update webpack.config.js
Fix typos
1 parent 0d9d3e6 commit 3a17384

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const path = require("path");
22
const HtmlWebpackPlugin = require("html-webpack-plugin");
33

4-
const CLINET_DIR = path.join(__dirname, "./src/client");
4+
const CLIENT_DIR = path.join(__dirname, "./src/client");
55
const BUILD_DIR = path.join(__dirname, "./src/build");
66

77
module.exports = {
8-
entry: path.join(CLINET_DIR, "index.tsx"), //Define the entry point for the project
8+
entry: path.join(CLIENT_DIR, "index.tsx"), //Define the entry point for the project
99
output: { //Define where the compliation package would be placed
1010
filename: "bundle.js",
1111
path: BUILD_DIR
@@ -32,7 +32,7 @@ module.exports = {
3232
plugins: [
3333
new HtmlWebpackPlugin({
3434
title: 'My first React app',
35-
template: path.join(CLINET_DIR, "index.html")
35+
template: path.join(CLIENT_DIR, "index.html")
3636
})
3737
]
38-
};
38+
};

0 commit comments

Comments
 (0)