Use named export instead of default export (#12740)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-05-05 15:03:08 +08:00
1 parent ba3e736700
commit c1f6d021e5
22 files changed
+136 -135

No files matched your search

+2
View File
@@ -261,6 +261,7 @@ const parsers = [
const coreBundles = [
{
input: "src/index.js",
interopDefault: false,
replaceModule: [
{
module: require.resolve("@iarna/toml/lib/toml-parser.js"),
@@ -292,6 +293,7 @@ const coreBundles = [
},
{
input: "src/standalone.js",
interopDefault: false,
name: "prettier",
target: "universal",
replaceModule: [