Update prettier to v2 (#11579)

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
Bogdan Savluk
2020-06-07 22:21:33 +02:00
committed by GitHub
parent 426acf336e
commit 4108524856
147 changed files with 1018 additions and 1106 deletions

View File

@@ -78,7 +78,7 @@ function writeCoreJS({
}
const runtimeRoot = proposals ? "core-js" : "core-js-stable";
paths.forEach(function(corejsPath) {
paths.forEach(function (corejsPath) {
outputFile(
path.join(pkgDirname, runtimeRoot, `${corejsPath}.js`),
`module.exports = require("${corejsRoot}/${corejsPath}");`