Skip to content

Commit

Permalink
Merge pull request #770 from FrancescoXX/feat/add-million
Browse files Browse the repository at this point in the history
feat: add million
  • Loading branch information
tobySolutions authored Sep 7, 2023
2 parents 3efbcf4 + ae7ab82 commit e66b985
Show file tree
Hide file tree
Showing 3 changed files with 7,536 additions and 7,233 deletions.
13 changes: 12 additions & 1 deletion next.config.js → next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import million from 'million/compiler';

/** @type {import("next").NextConfig} */
const nextConfig = {
images: {
Expand All @@ -16,4 +18,13 @@ const nextConfig = {
},
}

module.exports = nextConfig
const millionConfig = {
auto: true,
// if you're using RSC:
// auto: { rsc: true },
}



export default million.next(nextConfig, millionConfig);

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"classnames": "^2.3.2",
"formik": "^2.2.9",
"framer-motion": "^8.1.4",
"million": "^2.6.0-beta.13",
"multiselect-react-dropdown": "^2.0.25",
"next": "^13.1.1",
"next-seo": "^5.15.0",
Expand Down
Loading

1 comment on commit e66b985

@vercel
Copy link

@vercel vercel bot commented on e66b985 Oct 7, 2023

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.