File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ function getPlugins(
410410 // Note that this plugin must be called after closure applies DCE.
411411 isProduction && stripUnusedImports ( pureExternalModules ) ,
412412 // Add the whitespace back if necessary.
413- shouldStayReadable && prettier ( { parser : 'babylon ' } ) ,
413+ shouldStayReadable && prettier ( { parser : 'babel ' } ) ,
414414 // License and haste headers, top-level `if` blocks.
415415 {
416416 transformBundle ( source ) {
@@ -541,11 +541,6 @@ async function createBundle(bundle, bundleType) {
541541 bundle . moduleType ,
542542 pureExternalModules
543543 ) ,
544- // We can't use getters in www.
545- legacy :
546- bundleType === FB_WWW_DEV ||
547- bundleType === FB_WWW_PROD ||
548- bundleType === FB_WWW_PROFILING ,
549544 } ;
550545 const [ mainOutputPath , ...otherOutputPaths ] = Packaging . getBundleOutputPaths (
551546 bundleType ,
You can’t perform that action at this time.
0 commit comments