Skip to content

Commit

Permalink
chore: Generate JSON version of the environment file (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-boris authored Jul 24, 2023
1 parent 66fc217 commit 1fe80b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-tools/tasks/generate-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function writeEnvironmentFile(theme) {
};
const basePath = path.join(theme.outputPath, filepath);

writeFile(`${basePath}.json`, JSON.stringify(values, null, 2));
writeFile(
`${basePath}.js`,
Object.entries(values)
Expand Down

0 comments on commit 1fe80b7

Please sign in to comment.