Skip to content

Commit

Permalink
fix(deps): define externals
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Jan 16, 2024
1 parent a253d61 commit f95f6fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const rollupConfig = defineConfig([
file: packageJson.module,
format: 'esm',
sourcemap: !isProduction,
globals: {
react: 'React',
'react-dom': 'ReactDOM',
},
},
],
plugins: [
Expand Down

0 comments on commit f95f6fe

Please sign in to comment.