Skip to content

Commit

Permalink
config(rollup): Set react and react-native as external to prevent bun…
Browse files Browse the repository at this point in the history
…dling react code
  • Loading branch information
fdrault committed Feb 27, 2023
1 parent c2546b1 commit 8762e6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const commonPlugins = [
const configBase = {
input: "./src/index.ts",
plugins: commonPlugins,
external: ["react", "react-native"],
};

// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down

0 comments on commit 8762e6a

Please sign in to comment.