Build: exclude index.js from bin-prettier (#8119)

This commit is contained in:
fisker Cheung authored and GitHub committed 2020-05-06 18:43:04 +08:00
1 parent a0e42d9842
commit 207d5245c5
11 files changed
+53 -18

No files matched your search

+4 -1
View File
@@ -159,7 +159,10 @@ const coreBundles = [
type: "core",
output: "bin-prettier.js",
target: "node",
externals: [path.resolve("src/common/third-party.js")],
externals: [
path.resolve("src/index.js"),
path.resolve("src/common/third-party.js"),
],
},
{
input: "src/common/third-party.js",