docs: Fix simple typo, preprelease -> pre-release (#12102)

There is a small typo in packages/babel-core/src/transformation/file/file.js, packages/babel-plugin-transform-runtime/src/helpers.js.

Should read `pre-release` rather than `preprelease`.
This commit is contained in:
Tim Gates
2020-09-24 06:06:21 +10:00
committed by GitHub
parent f49234aa69
commit 1334bc99e0
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export function hasMinVersion(minVersion, runtimeVersion) {
if (!runtimeVersion) return true;
// semver.intersects() has some surprising behavior with comparing ranges
// with preprelease versions. We add '^' to ensure that we are always
// with pre-release versions. We add '^' to ensure that we are always
// comparing ranges with ranges, which sidesteps this logic.
// For example:
//