feature/1-self-sovereign-passports-for-user-identity #2

Merged
continuist merged 29 commits from feature/1-self-sovereign-passports-for-user-identity into main 2025-11-01 10:32:30 -04:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 33e5d8f5d8 - Show all commits

View file

@ -23,7 +23,7 @@ RUN echo 'git-fetch-with-cli = true' >> $CARGO_HOME/config.toml
# Copy WASM source and build
COPY wasm/Cargo.toml wasm/Cargo.lock ./wasm/
COPY wasm/src ./wasm/src/
RUN cd wasm && wasm-pack build --target web
RUN cd wasm && wasm-pack build --target web --mode no-install
# ---------- build ----------
FROM docker.io/node:20-slim AS builder

View file

@ -25,7 +25,7 @@ const nextConfig: NextConfig = {
// Enable WASM support
config.experiments = {
...config.experiments,
asyncWebAssembly: true,
asyncWebAssembly: false,
syncWebAssembly: true,
layers: true,
};
@ -37,7 +37,7 @@ const nextConfig: NextConfig = {
...(config.module?.rules || []),
{
test: /\.wasm$/,
type: 'webassembly/async',
type: 'webassembly/sync',
},
],
};