Skip to content

Commit

Permalink
fix: Add @inkathon/contracts packages to be transpiled by Next.js t…
Browse files Browse the repository at this point in the history
…o try fix "Module not found" error
  • Loading branch information
wottpal committed Oct 13, 2023
1 parent fd7985c commit 58b3967
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
/**
* @type {import('next').NextConfig}
**/
let nextConfig = {}
let nextConfig = {
transpilePackages: ['@inkathon/contracts'],
}

const withTwin = require('./withTwin.js')
nextConfig = withTwin(nextConfig)
Expand Down

0 comments on commit 58b3967

Please sign in to comment.