From c8806b8441e576a8d393ef741d13f6b65a87de70 Mon Sep 17 00:00:00 2001 From: anuveyatsu Date: Fri, 12 Jun 2020 19:04:26 +0600 Subject: [PATCH] [setup][xs]: rename '.ts' => '.js' to be able to 'next build'. With '.ts' when building next it fails with following error: ``` 18:56:07.172 ERROR in /vercel/2f45f54/pages/[org]/[dataset]/index.tsx(3,19): 18:56:07.172 3:19 File '/vercel/2f45f54/utils/index.ts' is not a module. 18:56:07.172 1 | import { GetServerSideProps } from 'next' 18:56:07.172 2 | import config from '../../../config' 18:56:07.172 > 3 | import utils from '../../../utils' 18:56:07.172 | ^ 18:56:07.172 4 | import Head from 'next/head' 18:56:07.172 5 | import Nav from '../../../components/Nav' 18:56:07.172 6 | import About from '../../../components/dataset/About' ``` --- utils/{index.ts => index.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename utils/{index.ts => index.js} (100%) diff --git a/utils/index.ts b/utils/index.js similarity index 100% rename from utils/index.ts rename to utils/index.js