Fix Prettier "No parser" warning while building (#13323)
Bartosz Kaszubowski committed
Aug 5, 2018 at 03:50 UTC
08e32263f9e347a1713bdd6714d7a76d0019991a
1 file changed
+1
-1
scripts/rollup/build.js
+1
-1
@@ -350,7 +350,7 @@ function getPlugins(
350
})
351
),
352
// Add the whitespace back if necessary.
353
- shouldStayReadable && prettier(),
353
+ shouldStayReadable && prettier({parser: 'babylon'}),
354
// License and haste headers, top-level `if` blocks.
355
{
356
transformBundle(source) {