Skip to content

Commit

Permalink
allow static export on master (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim authored Nov 6, 2024
1 parent 6cd9cc9 commit 55020b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const { ProvidePlugin } = webpack;
const transpileModules = ["rescript"].concat(bsconfig["bs-dependencies"]);

const config = {
output: process.env.BUILD_STATIC === 'true' ? 'export' : undefined,
pageExtensions: ["jsx", "js", "bs.js", "mdx", "mjs"],
env: {
ENV: process.env.NODE_ENV,
Expand Down

0 comments on commit 55020b1

Please sign in to comment.