File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
20
20
### Fixed
21
21
22
22
- Fixed zkProgramFile to support nested paths. [ #690 ] ( https://github.com/o1-labs/zkapp-cli/pull/690 )
23
+ - Fixed o1js dependency issue for next js server [ #693 ] ( https://github.com/o1-labs/zkapp-cli/pull/693 )
23
24
24
25
## [ 0.21.5] ( https://github.com/o1-labs/zkapp-cli/compare/0.21.4...0.21.5 ) - 2024-06-06
25
26
Original file line number Diff line number Diff line change @@ -362,6 +362,8 @@ const __dirname = path.dirname(__filename);
362
362
...config.resolve.alias,
363
363
o1js: path.resolve(__dirname, 'node_modules/o1js/dist/web/index.js'),
364
364
};
365
+ } else {
366
+ config.externals.push('o1js') // https://nextjs.org/docs/app/api-reference/next-config-js/serverExternalPackages
365
367
}
366
368
config.experiments = { ...config.experiments, topLevelAwait: true };
367
369
return config;
You can’t perform that action at this time.
0 commit comments