File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11const path = require ( "path" ) ;
22const HtmlWebpackPlugin = require ( "html-webpack-plugin" ) ;
33
4- const CLINET_DIR = path . join ( __dirname , "./src/client" ) ;
4+ const CLIENT_DIR = path . join ( __dirname , "./src/client" ) ;
55const BUILD_DIR = path . join ( __dirname , "./src/build" ) ;
66
77module . 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+ } ;
You can’t perform that action at this time.
0 commit comments