add project

This commit is contained in:
ZOMBIIIIIII
2026-04-08 14:11:27 +03:00
parent bfa95223a0
commit a81e29807c
115 changed files with 18413 additions and 0 deletions

28
apps/web/next.config.ts Normal file
View File

@@ -0,0 +1,28 @@
import path from 'path';
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
output: 'standalone',
turbopack: {
// Keep Turbopack pinned to the monorepo root so dev HMR
// does not mis-detect `apps/web` as a standalone project.
root: path.resolve(__dirname, '../..'),
},
webpack(config) {
// Enable WebAssembly for tiny-secp256k1 (used by ecpair/bitcoinjs-lib)
config.experiments = {
...config.experiments,
asyncWebAssembly: true,
};
// Prevent webpack from changing the output of WASM imports
config.module.rules.push({
test: /\.wasm$/,
type: 'webassembly/async',
});
return config;
},
};
export default nextConfig;