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) {