Skip to content

Commit

Permalink
Set webpack as dev dependency in update script (related to #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarhan committed Jan 31, 2020
1 parent a416967 commit f061eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_deps
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (cracoLessPackageJSON["dependencies"]["webpack"] == webpackVersion) {
}

console.log(`Updating webpack dependency to: ${webpackVersion}`);
cracoLessPackageJSON["dependencies"]["webpack"] = webpackVersion;
cracoLessPackageJSON["devDependencies"]["webpack"] = webpackVersion;
fs.writeFileSync(
"package.json",
JSON.stringify(cracoLessPackageJSON, null, 2) + "\n"
Expand Down

0 comments on commit f061eeb

Please sign in to comment.