7 lines
302 B
JavaScript
7 lines
302 B
JavaScript
// We register the TypeScript evaluator in gatsby-config so we don't need to do
|
|
// it in any other .js file. It automatically reads TypeScript config from
|
|
// tsconfig.json.
|
|
require('ts-node').register();
|
|
|
|
// Use a TypeScript version of gatsby-config.js.
|
|
module.exports = require('./gatsby-config.ts');
|