Skip to content

Commit 201652e

Browse files
committed
Fix copy-paste fail
1 parent 31ecb43 commit 201652e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ try {
1010
} catch (err) {
1111
if (err.code === "MODULE_NOT_FOUND") {
1212
err.message +=
13-
"\n babelify@9 requires Babel 7.x (the package '@babel/core'). " +
14-
"If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'.";
13+
"\n babelify@10 requires Babel 7.x (the package '@babel/core'). " +
14+
"If you'd like to use Babel 6.x ('babel-core'), you should install 'babelify@8'.";
1515
}
1616
throw err;
1717
}
@@ -20,8 +20,8 @@ try {
2020
// people useful feedback if they try to use it alongside babel-loader.
2121
if (/^6\./.test(babel.version)) {
2222
throw new Error(
23-
"\n babel-loader@8 will not work with the '@babel/core@6' bridge package. " +
24-
"If you want to use Babel 6.x, install 'babel-loader@7'."
23+
"\n babelify@10 will not work with the '@babel/core@6' bridge package. " +
24+
"If you want to use Babel 6.x, install 'babelify@8'."
2525
);
2626
}
2727

0 commit comments

Comments
 (0)