Skip to content

Commit

Permalink
fix: serve files in dist directory in .next for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Dec 11, 2023
1 parent 903d2a0 commit 318d088
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Binary file removed tools/walletextension/api/static/favicon.ico
Binary file not shown.
10 changes: 6 additions & 4 deletions tools/walletextension/frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'export',
distDir: '../api/static'
}
output: "export",
// distDir is where the static files are generated
// on dev mode, it is generated in .next folder in the root directory
// distDir: '../api/static'
};

module.exports = nextConfig
module.exports = nextConfig;

0 comments on commit 318d088

Please sign in to comment.