Skip to content

Commit

Permalink
Merge pull request #29 from platypusrex/fix/additional-properties-war…
Browse files Browse the repository at this point in the history
…ning

fix: remove svgr plugins properties from next.config
  • Loading branch information
platypusrex committed Jul 25, 2022
2 parents 8b6f359 + 40fae5b commit 5e75831
Show file tree
Hide file tree
Showing 4 changed files with 1,161 additions and 2,194 deletions.
2 changes: 1 addition & 1 deletion example/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const withSvgr = require('next-plugin-svgr');
const nextConfig = {
reactStrictMode: true,
fileLoader: true,
}
};

module.exports = withSvgr(nextConfig);
11 changes: 6 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
"lint": "next lint"
},
"dependencies": {
"next": "12.0.7",
"next": "latest",
"next-plugin-svgr": "latest",
"react": "17.0.2",
"react-dom": "17.0.2"
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "17.0.8",
"@types/react": "17.0.38",
"@types/node": "18.6.1",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"eslint": "8.6.0",
"eslint-config-next": "12.0.7",
"typescript": "4.5.4"
Expand Down

0 comments on commit 5e75831

Please sign in to comment.