Skip to content

Commit 6538858

Browse files
committed
allow static export on master
1 parent 6cd9cc9 commit 6538858

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const { ProvidePlugin } = webpack;
1414
const transpileModules = ["rescript"].concat(bsconfig["bs-dependencies"]);
1515

1616
const config = {
17+
output: process.env.BUILD_STATIC === 'true' ? 'export' : undefined,
1718
pageExtensions: ["jsx", "js", "bs.js", "mdx", "mjs"],
1819
env: {
1920
ENV: process.env.NODE_ENV,

0 commit comments

Comments
 (0)