File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}
2020// people useful feedback if they try to use it alongside babel-loader.
2121if ( / ^ 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
You can’t perform that action at this time.
0 commit comments