Skip to content

Commit

Permalink
add million
Browse files Browse the repository at this point in the history
  • Loading branch information
manishiwa committed Jan 30, 2024
1 parent fe0747d commit e3554d0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import million from "million/compiler";

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
// domains: ["ipfs.io", "content.optimism.io"],
remotePatterns: [
{
protocol: "https",
hostname: "ipfs.io",
},
{
protocol: "https",
hostname: "content.optimism.io",
},
],
},
};

const millionConfig = {
auto: true,
};

// module.exports = nextConfig;

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 @@ -26,6 +26,7 @@
"highcharts-react-official": "^3.1.0",
"highcharts-rounded-corners": "https://github.com/highcharts/rounded-corners/",
"lodash": "^4.17.21",
"million": "^2.6.4",
"moment": "^2.29.4",
"next": "^14.0.4",
"next-seo": "^6.1.0",
Expand Down

0 comments on commit e3554d0

Please sign in to comment.