File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ function createBabelInputPluginFactory(customCallback = returnObject) {
211211 return workerPool . runTask ( {
212212 inputCode : code ,
213213 babelOptions : { ...babelOptions , filename } ,
214- runPreflightCheck : ! skipPreflightCheck ,
214+ skipPreflightCheck,
215215 babelHelpers
216216 } ) ;
217217 }
@@ -225,7 +225,7 @@ function createBabelInputPluginFactory(customCallback = returnObject) {
225225 } ,
226226 customOptions,
227227 error : this . error . bind ( this ) ,
228- runPreflightCheck : ! skipPreflightCheck ,
228+ skipPreflightCheck,
229229 babelHelpers
230230 } ) ;
231231 }
@@ -327,7 +327,8 @@ function createBabelOutputPluginFactory(customCallback = returnObject) {
327327 result : overrides . result ?. bind ( this )
328328 } ,
329329 customOptions,
330- error : this . error . bind ( this )
330+ error : this . error . bind ( this ) ,
331+ skipPreflightCheck : true
331332 } ) ;
332333 }
333334 } ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default async function transformCode({
1111 overrides,
1212 customOptions,
1313 error,
14- runPreflightCheck ,
14+ skipPreflightCheck ,
1515 babelHelpers
1616} ) {
1717 // loadPartialConfigAsync has become available in @babel /core@7.8.0
@@ -29,7 +29,7 @@ export default async function transformCode({
2929 customOptions
3030 } ) ;
3131
32- if ( runPreflightCheck ) {
32+ if ( ! skipPreflightCheck ) {
3333 await preflightCheck ( error , babelHelpers , transformOptions ) ;
3434 }
3535
You can’t perform that action at this time.
0 commit comments