Skip to content

Commit 67b5755

Browse files
committed
fix(paths): fixing default paths of entry files
1 parent ef21d62 commit 67b5755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/paths.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const path = require("path");
33
module.exports = {
44
root: path.resolve("./"),
55
outputPath: path.resolve("build"),
6-
entryPath: path.resolve(process.env.ENTRY_FILE || "index.jsx"),
7-
templatePath: path.resolve("index.html"),
6+
entryPath: path.resolve(process.env.ENTRY_FILE || "src/App.jsx"),
7+
templatePath: path.resolve(process.env.TEMPLATE_FILE || "src/index.html"),
88
imagesFolder: "assets/images",
99
fontsFolder: "assets/fonts",
1010
cssFolder: "assets/css",

0 commit comments

Comments
 (0)