Created
February 26, 2021 08:09
-
-
Save eric-burel/bb5de3030f6561836c6db465cde09194 to your computer and use it in GitHub Desktop.
next config public app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in next.config.js | |
import packageJson from "./package.json" | |
module.exports = { | |
env: { | |
NEXT_PUBLIC_APP_VERSION: packageJson.version | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment