Skip to content

Commit 33116e4

Browse files
authored
Merge pull request #2 from oslabs-beta/webpackAdd
Upon build, automatically copy settings.json into build folder
2 parents 4170cc8 + 2a435d6 commit 33116e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utilities/copyDist.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ fse.copyFileSync(
5555
path.resolve(__dirname, '../settings.json'),
5656
path.resolve(__dirname, '../dist/settings.json')
5757
);
58+
59+
// Copy settings.json from root directory into the build folder
60+
fse.copyFileSync(
61+
path.resolve(__dirname, '../settings.json'),
62+
path.resolve(__dirname, '../build/settings.json')
63+
);

0 commit comments

Comments
 (0)