feat(v2): allow for TypeScript pages and components (#2221)

This commit is contained in:
Jonathan Delgado 2020-01-19 18:55:50 -08:00 committed by Yangshun Tay
parent f2137bb872
commit 5cb3309790
3 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,7 @@ import {PluginOptions, LoadedContent} from './types';
const DEFAULT_OPTIONS: PluginOptions = {
path: 'src/pages', // Path to data on filesystem, relative to site dir.
routeBasePath: '', // URL Route.
include: ['**/*.{js,jsx}'], // Extensions to include.
include: ['**/*.{js,jsx,ts,tsx}'], // Extensions to include.
};
export default function pluginContentPages(