2019-01-03 22:59:22 +00:00
|
|
|
const buildId = [
|
|
|
|
process.env.CI_COMMIT_REF_SLUG || 'prerelese',
|
|
|
|
(process.env.CI_COMMIT_SHA || 'gitsha').slice(0, 7)
|
|
|
|
].join('-');
|
|
|
|
const banner = (process.env.NODE_ENV === 'production') ? false : (process.env.NODE_ENV || 'development');
|
|
|
|
|
2019-01-02 23:51:23 +00:00
|
|
|
module.exports = {
|
2019-01-03 22:59:22 +00:00
|
|
|
siteMetadata: {
|
|
|
|
buildId,
|
|
|
|
banner
|
|
|
|
},
|
2019-01-02 23:51:23 +00:00
|
|
|
plugins: [
|
2019-01-03 12:08:47 +00:00
|
|
|
'gatsby-plugin-react-helmet',
|
2019-01-03 23:00:10 +00:00
|
|
|
'gatsby-plugin-postcss'
|
2019-01-02 23:51:23 +00:00
|
|
|
]
|
|
|
|
};
|