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$/,