Skip to content

Commit

Permalink
remove external deps in rollup.config
Browse files Browse the repository at this point in the history
  • Loading branch information
gcostaefraim committed Jul 8, 2024
1 parent 0736bf9 commit 96897ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 52 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"react-use": "^17.3.2",
"rifm": "^0.12.0",
"tippy.js": "^6.3.7",
"web-vitals": "^0.2.4"
"web-vitals": "^0.2.4",
"theme-ui": "^0.16.2"
},
"peerDependencies": {
"react": "^18.3.1",
Expand Down Expand Up @@ -163,7 +164,6 @@
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"storybook": "^8.1.10",
"theme-ui": "^0.16.2",
"tslib": "^2.3.1",
"typescript": "^5.4.5",
"vite": "^5.3.1"
Expand Down
45 changes: 3 additions & 42 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ export default {
preserveModulesRoot: 'src',
},
],
external: [
'classnames',
'debounce',
'lodash/memoize',
'prop-types',
'react',
'react-dom',
],
external: ['react', 'react-dom'],
plugins: [
cleaner({
targets: ['lib'],
Expand Down

0 comments on commit 96897ab

Please sign in to comment.