Skip to content

Commit

Permalink
Externalize peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sandercamp committed Sep 4, 2023
1 parent 0a9a6e6 commit 40f821a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@sandercamp/ui-components",
"author": "Sander Camp",
"license": "MIT",
"version": "0.0.25",
"version": "0.0.26",
"packageManager": "[email protected]",
"main": "./lib/index.js",
"exports": {
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import resolve from "@rollup/plugin-node-resolve";
import postcss from "rollup-plugin-postcss";
import typescript from '@rollup/plugin-typescript';
import postcssImport from 'postcss-import';
import peerDepsExternal from 'rollup-plugin-peer-deps-external';

import pkg from "./package.json" assert { type: "json" };

export default {
Expand All @@ -13,6 +15,7 @@ export default {
format: "cjs"
},
plugins: [
peerDepsExternal(),
resolve({
extensions: ['.ts', '.tsx'],
}),
Expand Down

0 comments on commit 40f821a

Please sign in to comment.