Skip to content

Commit

Permalink
chore: Remove next-transpile-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
wottpal committed Jan 11, 2023
1 parent 01d0f79 commit 937a6ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
9 changes: 4 additions & 5 deletions packages/frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
/**
* @type {import('next').NextConfig}
**/
let nextConfig = {}
let nextConfig = {
transpilePackages: ['@inkathon/contracts'],
}

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

const withTM = require('next-transpile-modules')(['@inkathon/contracts']) // TODO
nextConfig = withTM(nextConfig)

module.exports = withTM(nextConfig)
module.exports = nextConfig
1 change: 0 additions & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@polkadot/util-crypto": "^10.2.3",
"next": "^13.1.1",
"next-seo": "^5.15.0",
"next-transpile-modules": "^10.0.0",
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
12 changes: 3 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 937a6ac

Please sign in to comment.