From fee38d2bb11877e4a8e83f57c16df9d490414556 Mon Sep 17 00:00:00 2001 From: Shubham Verma Date: Wed, 23 Sep 2020 19:09:16 +0530 Subject: [PATCH] fix version number --- next.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 3ca6203e..2db69754 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,9 @@ -require('dotenv').config(); +const pkg = require('./package.json'); module.exports = { + env: { + VERSION: pkg.version, + }, webpack(config) { config.module.rules.push({ test: /\.svg$/,