this repo has no description www.baileykane.co/
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add TS config

BK610 1f256b09 81452ef0

+93 -30
+5
next-env.d.ts
··· 1 + /// <reference types="next" /> 2 + /// <reference types="next/image-types/global" /> 3 + 4 + // NOTE: This file should not be edited 5 + // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
+22 -30
next.config.js
··· 1 + "use strict"; 1 2 // @ts-check 2 - 3 - // /** @type {import('next').NextConfig} */ 4 - // const nextConfig = { 5 - // /* config options here */ 6 - // } 7 - 8 - // module.exports = nextConfig 9 - 10 - // const withPWA = require('next-pwa'); 11 - // const runtimeCaching = require('next-pwa/cache'); 12 - 13 - module.exports = // withPWA( 14 - { 15 - webpack: (cfg) => { 16 - cfg.module.rules.push( 17 - { 18 - test: /\.md$/, 19 - loader: 'frontmatter-markdown-loader', 20 - options: { mode: ['react-component'] } 21 - } 22 - ) 23 - return cfg; 24 - } 25 - //, 26 - // pwa: { 27 - // dest: 'public', 28 - // disable: process.env.NODE_ENV === 'development', 29 - // // runtimeCaching 30 - // } 31 - } 3 + Object.defineProperty(exports, "__esModule", { value: true }); 4 + var nextConfig = {}; 5 + exports.default = nextConfig; 6 + // module.exports = 7 + // // withPWA( 8 + // { 9 + // webpack: (cfg) => { 10 + // cfg.module.rules.push({ 11 + // test: /\.md$/, 12 + // loader: "frontmatter-markdown-loader", 13 + // options: { mode: ["react-component"] }, 14 + // }); 15 + // return cfg; 16 + // }, 17 + // //, 18 + // // pwa: { 19 + // // dest: 'public', 20 + // // disable: process.env.NODE_ENV === 'development', 21 + // // // runtimeCaching 22 + // // } 23 + // }; 32 24 //)
+37
next.config.ts
··· 1 + // @ts-check 2 + 3 + // /** @type {import('next').NextConfig} */ 4 + // const nextConfig = { 5 + // /* config options here */ 6 + // } 7 + 8 + // module.exports = nextConfig 9 + 10 + // const withPWA = require('next-pwa'); 11 + // const runtimeCaching = require('next-pwa/cache'); 12 + 13 + import type { NextConfig } from "next"; 14 + 15 + const nextConfig: NextConfig = {}; 16 + 17 + export default nextConfig; 18 + 19 + // module.exports = 20 + // // withPWA( 21 + // { 22 + // webpack: (cfg) => { 23 + // cfg.module.rules.push({ 24 + // test: /\.md$/, 25 + // loader: "frontmatter-markdown-loader", 26 + // options: { mode: ["react-component"] }, 27 + // }); 28 + // return cfg; 29 + // }, 30 + // //, 31 + // // pwa: { 32 + // // dest: 'public', 33 + // // disable: process.env.NODE_ENV === 'development', 34 + // // // runtimeCaching 35 + // // } 36 + // }; 37 + //)
+29
tsconfig.json
··· 1 + { 2 + "compilerOptions": { 3 + "target": "ES2017", 4 + "lib": [ 5 + "dom", 6 + "dom.iterable", 7 + "esnext" 8 + ], 9 + "allowJs": true, 10 + "skipLibCheck": true, 11 + "strict": false, 12 + "noEmit": true, 13 + "incremental": true, 14 + "module": "esnext", 15 + "esModuleInterop": true, 16 + "moduleResolution": "node", 17 + "resolveJsonModule": true, 18 + "isolatedModules": true, 19 + "jsx": "preserve" 20 + }, 21 + "include": [ 22 + "next-env.d.ts", 23 + "**/*.ts", 24 + "**/*.tsx" 25 + ], 26 + "exclude": [ 27 + "node_modules" 28 + ] 29 + }