From 8de250ca7ea0c46fc46cbeb343bbb087e1b63202 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Fri, 14 Feb 2020 19:37:00 +0300 Subject: [PATCH] add env --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index 3767d1ea..200aa382 100644 --- a/next.config.js +++ b/next.config.js @@ -22,6 +22,9 @@ module.exports = withCss(withSass({ // mySecret: 'secret', // secondSecret: process.env.SECOND_SECRET // Pass through env variables }, + env: { + ARTICLES_PAGE_SIZE: 15, + }, webpack(config) { config.resolve.modules.push(__dirname) return config;