Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
Create output in nested directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bamberg committed May 13, 2019
1 parent 418f3ef commit 46ad957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-json/build-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const writeToFile = (propertyName, json) => {
}
};

const dest = path.join(process.cwd(),'packaged', `${propertyName}.json`);
const dest = path.join(process.cwd(),'packaged/html/elements', `${propertyName}.json`);
const destDir = path.dirname(dest);
if (!fs.existsSync(destDir)) {
fs.mkdirSync(destDir, { recursive: true });
Expand Down

0 comments on commit 46ad957

Please sign in to comment.