From 08e32263f9e347a1713bdd6714d7a76d0019991a Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Sun, 5 Aug 2018 03:50:58 +0200 Subject: [PATCH] Fix Prettier "No parser" warning while building (#13323) --- scripts/rollup/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rollup/build.js b/scripts/rollup/build.js index 1b7c767aba..fa1c8f90c6 100644 --- a/scripts/rollup/build.js +++ b/scripts/rollup/build.js @@ -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) {