Throw when using Stage presets (#8293)

* inline stage presets into standalone, throw error with using Stage presets
This commit is contained in:
Henry Zhu
2018-07-23 22:22:52 -04:00
committed by GitHub
parent 6f3a800677
commit c70a32ab9d
25 changed files with 470 additions and 259 deletions

View File

@@ -66,6 +66,7 @@ yarn add ${name} --dev
packages
.filter(x => x !== "README.md") // ignore root readme
.filter(x => x.indexOf("babel-preset-stage-") === -1) // ignore stages
.forEach(id => {
const { name, description } = getPackageJson(id);
const readmePath = join(packageDir, id, "README.md");