Skip to content

Commit ac36b9a

Browse files
authored
Merge pull request #530 from lightninglabs/default-index-html
Fix "no matching files found" compilation error when litd is used as a library
2 parents 94eff95 + 2466f82 commit ac36b9a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/build/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Keep directory in git.

app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"start": "BROWSER=none react-scripts start",
99
"develop": "REACT_APP_USE_SAMPLE_DATA=true yarn start",
1010
"build": "react-scripts build",
11+
"postbuild": "echo -n '# Keep directory in git.' > build/.gitkeep",
1112
"test": "react-scripts test --env=jest-environment-jsdom",
1213
"test:ci": "cross-env CI=true yarn test --coverage",
1314
"eject": "react-scripts eject",

0 commit comments

Comments
 (0)