Skip to content

Commit

Permalink
fix(deps): mark @portabletext/react as external
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Aug 24, 2023
1 parent dc067d1 commit ba46ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
fileName: (format) => `react-native-portable-text.${format}.js`,
},
rollupOptions: {
external: ['react', 'react-native'],
external: ['@portabletext/react', '@portabletext/types','react', 'react-native'],
output: {
// Since we publish our ./src folder, there's no point in bloating sourcemaps with another copy of it.
sourcemapExcludeSources: true,
Expand Down

0 comments on commit ba46ba2

Please sign in to comment.