Skip to content

Commit

Permalink
Add million
Browse files Browse the repository at this point in the history
  • Loading branch information
gramliu committed Nov 26, 2023
1 parent 8ec5989 commit 173cf3d
Show file tree
Hide file tree
Showing 3 changed files with 315 additions and 20 deletions.
12 changes: 8 additions & 4 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
const million = require("million/compiler");
/**
* @type {import('next').NextConfig}
*/
module.exports = {
reactStrictMode: true,
transpilePackages: ["@ui"]
};
module.exports = million.next(
{
reactStrictMode: true,
transpilePackages: ["@ui"],
},
{ auto: { rsc: true } }
);
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@tldraw/tldraw": "2.0.0-alpha.18",
"clsx": "^2.0.0",
"lucide-react": "^0.293.0",
"million": "^2.6.4",
"next": "^13.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
Loading

0 comments on commit 173cf3d

Please sign in to comment.