add env
This commit is contained in:
1 parent
e6610fdabb
commit
8de250ca7e
1 file changed
+3
@@ -22,6 +22,9 @@ module.exports = withCss(withSass({
|
|||||||
// mySecret: 'secret',
|
// mySecret: 'secret',
|
||||||
// secondSecret: process.env.SECOND_SECRET // Pass through env variables
|
// secondSecret: process.env.SECOND_SECRET // Pass through env variables
|
||||||
},
|
},
|
||||||
|
env: {
|
||||||
|
ARTICLES_PAGE_SIZE: 15,
|
||||||
|
},
|
||||||
webpack(config) {
|
webpack(config) {
|
||||||
config.resolve.modules.push(__dirname)
|
config.resolve.modules.push(__dirname)
|
||||||
return config;
|
return config;
|
||||||
|
|||||||
Reference in new issue
Block a user