Files
gitbook/next.config.js
T
Samy Pessé ec075af455 Store the build version in the generator meta tag (#104)
* Store the build version in the generator meta tag

* Format

* Send header with version

* Add header on 404 as well
2024-01-20 12:43:59 +01:00

13 lines
287 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
// TODO: Until we get all the API typing
ignoreBuildErrors: true,
},
env: {
BUILD_VERSION: (process.env.GITHUB_SHA ?? '').slice(0, 7),
},
};
module.exports = nextConfig;