Skip to content

Commit

Permalink
fix: remove react from build
Browse files Browse the repository at this point in the history
  • Loading branch information
omariosouto committed Dec 14, 2021
1 parent 195e678 commit d3b45f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@rollup/plugin-babel": "^5.3.0",
"react": "^17.0.2",
"tsconfig-paths-webpack-plugin": "^3.5.2"
},
"devDependencies": {
"react": "^17.0.2",
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.4",
"@babel/preset-react": "7.16.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default [
{
input: 'lib/components.ts',
external: (id) => {
return /^react|styled-jsx/.test(id);
return /^react|styled-jsx|next/.test(id);
},
output: [
{
Expand Down

1 comment on commit d3b45f1

@vercel
Copy link

@vercel vercel bot commented on d3b45f1 Dec 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.