File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
} catch ( err ) {
11
11
if ( err . code === "MODULE_NOT_FOUND" ) {
12
12
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 '." ;
15
15
}
16
16
throw err ;
17
17
}
20
20
// people useful feedback if they try to use it alongside babel-loader.
21
21
if ( / ^ 6 \. / . test ( babel . version ) ) {
22
22
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 '."
25
25
) ;
26
26
}
27
27
You can’t perform that action at this time.
0 commit comments