Skip to content

Commit

Permalink
🐛 Not use cross-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed May 19, 2021
1 parent f4dbd00 commit 0b5936f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = [
{
input: inputFilePath,
plugins: [
rollupPluginPreserveFetch(nodeFetch, "fetch"),
// rollupPluginPreserveFetch(nodeFetch, "fetch"),
replace(replaceOption),
ts({
transpiler: "babel",
Expand All @@ -51,13 +51,11 @@ const config = [
name: "Nameable",
banner,
},
external: ["cross-fetch"],
},
{
input: inputFilePath,
external: ["cross-fetch"],
plugins: [
rollupPluginPreserveFetch(nodeFetch, "fetch"),
// rollupPluginPreserveFetch(nodeFetch, "fetch"),
replace(replaceOption),
ts({
transpiler: "babel",
Expand Down

0 comments on commit 0b5936f

Please sign in to comment.