We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd9cc9 commit 6538858Copy full SHA for 6538858
next.config.mjs
@@ -14,6 +14,7 @@ const { ProvidePlugin } = webpack;
14
const transpileModules = ["rescript"].concat(bsconfig["bs-dependencies"]);
15
16
const config = {
17
+ output: process.env.BUILD_STATIC === 'true' ? 'export' : undefined,
18
pageExtensions: ["jsx", "js", "bs.js", "mdx", "mjs"],
19
env: {
20
ENV: process.env.NODE_ENV,
0 commit comments