Add type checking to the next config
This commit is contained in:
parent
58fc035fae
commit
357cbf66c8
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
// @ts-check
|
||||
|
||||
/**
|
||||
* @file Configure the Next.js build
|
||||
*
|
||||
|
@ -16,6 +18,9 @@ const gitSHA = cp.execSync('git rev-parse --short HEAD', {
|
|||
encoding: 'utf8',
|
||||
});
|
||||
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
const nextConfig = {
|
||||
/* generate a static export when we run `next build` */
|
||||
output: 'export',
|
||||
|
|
Loading…
Add table
Reference in a new issue