mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix Prettier "No parser" warning while building (#13323)
This commit is contained in:
committed by
Dan Abramov
parent
f8456b2ecb
commit
08e32263f9
@@ -350,7 +350,7 @@ function getPlugins(
|
||||
})
|
||||
),
|
||||
// Add the whitespace back if necessary.
|
||||
shouldStayReadable && prettier(),
|
||||
shouldStayReadable && prettier({parser: 'babylon'}),
|
||||
// License and haste headers, top-level `if` blocks.
|
||||
{
|
||||
transformBundle(source) {
|
||||
|
||||
Reference in New Issue
Block a user